ͳ nix eval '(let f = import ./recurseTree.nix; in f "")' | nixfmt
{
xdg = {
configFile = {
"something/b/d/e" = { source = /tmp/nixtest/b/d/e; };
"something/c" = { source = /tmp/nixtest/c; };
"something/recurseTree.nix" = { source = /tmp/nixtest/recurseTree.nix; };
};
};
This exemplary initial setup uses two devices /dev/sdb
and /dev/sdc
but can be applied to any amount of devices by following the steps with additional devices.
Create keyfile:
dd bs=64 count=1 if=/dev/urandom of=/etc/cryptkey iflag=fullblock
chmod 600 /etc/cryptkey
Please find its new home at github.com/tazjin/nix-1p.
The updated version contains more information and has issue tracking, hooray!
#!/usr/bin/python3 | |
import os | |
import datetime | |
import subprocess | |
import logging | |
import tempfile | |
import contextlib | |
from pathlib import Path |
We did it! We broke gist.github.com ;) So head over to the new home! Thank you all!
2021.10.20: https://github.com/AveYo/MediaCreationTool.bat now open for interaction
Not just an Universal MediaCreationTool wrapper script with ingenious support for business editions,
A powerful yet simple windows 10 / 11 deployment automation tool as well!
# I used this shell.nix to build LineageOS 13.0 for my maguro (Samsung Galaxy Nexus GSM) phone | |
# The build instructions for normal Linuxes are here: https://wiki.lineageos.org/devices/maguro/build | |
# For NixOS, follow those instructions but skip anything related to installing packages | |
# Detailed instructions: | |
# cd into an empty directory of your choice | |
# copy this file there | |
# in nix-shell: | |
# $ repo init -u https://github.com/LineageOS/android.git -b cm-13.0 | |
# $ repo sync | |
# $ source build/envsetup.sh |
本群組清單 提交修改 請至 gist 回覆
[AD]
- 台灣 OSS Conference的宣傳與交流
- https://lokidea.page.link/TWOssConfList (Google文件)
- 以上連結歡迎推廣與編輯
- https://www.fb.com/groups/Taiwan.OSS.Conference.List/
This document contains some ideas for additions to the Nix language.
The Nix package manager, Nixpkgs and NixOS currently have several problems:
- Poor discoverability of package options. Package functions have
function arguments like
enableFoo
, but there is no way for the Nix UI to discover them, let alone to provide programmatic ways to
Download debian iso
http://cdimage.debian.org/cdimage/release/current/mipsel/iso-cd/debian-9.1.0-mipsel-netinst.iso
Download initrd & vmlinux
This is a guide for aligning images.
See the full Advanced Markdown doc for more tips and tricks