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
nix run nixpkgs#disko -- -m disko hosts/rmt/disko-bcachefs.nix
nixos-generate-config --no-filesystems --root /mnt
nix run nixpkgs#nixos-anywhere -- --flake .#rmt root@192.168.122.89 --no-substitute-on-destination
nixos-install --no-root-passwd --flake .#host
--option substituters "https://cache.nixos.org"
--option substituters "https://mirror.sjtu.edu.cn/nix-channels/store"
SrvOS
Mic92
thiagokokada
# Developer Environments
nix develop --no-write-lock-file github:nix-community/nix-environments#openwrt
nix flake init -t github:MordragT/nix-templates#tauri
Nix one pager