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 --flake --root /mnt
disko -m disko hosts/rmt/disko-bcachefs.nix
nixos-generate-config --no-filesystems --flake --root /mnt
nixos-anywhere \
# --disko-mode mount \
--no-substitute-on-destination \
--flake .#rmt \
root@192.168.122.25
nixos-install \
--no-root-passwd \
--option substituters "https://mirror.sjtu.edu.cn/nix-channels/store" \
--flake .#host
# Developer Environments
nix develop --no-write-lock-file github:nix-community/nix-environments#openwrt
nix flake init -t github:MordragT/nix-templates#tauri