mkfs.fat -F32 /dev/nvme0n1p3
mkswap /dev/nvme0n1p4
swapon /dev/nvme0n1p4
bcachefs format /dev/nvme0n1p5
mount /dev/nvme0n1p5 /mnt
mkdir /mnt/efi
mount /dev/nvme0n1p1 /mnt/efi
nixos-generate-config --root /mnt
disko -m disko hosts/rmt/disko-bcachefs.nix
nixos-generate-config --no-filesystems --root /mnt
nixos-anywhere \
--disko-mode mount \ # skip disk reformat
--no-substitute-on-destination \
--flake .#rmt \
[email protected]
nixos-install --no-root-passwd --flake .#host
--option substituters "https://cache.nixos.org"
--option substituters "https://mirror.sjtu.edu.cn/nix-channels/store"
# Developer Environments
nix develop --no-write-lock-file github:nix-community/nix-environments#openwrt
nix flake init -t github:MordragT/nix-templates#tauri