CrOS/README.md
2025-01-29 10:59:59 -05:00

679 B

Crow's NixOS configuration project

Proxmox/LXC target

nix run github:nix-community/nixos-generators -- --format proxmox-lxc

Building the Live ISO

nixos-generate --format install-iso --flake .#Parzival-Live -o result

Formatting disks with disko

sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko/latest -- --mode destroy,format,mount <disk config path>

Deploying to the remote

Note: If you need to specify the ssh key, you may inject extra cli options to the ssh command via the NIX_SSHOPTS environment variable

  • Anywhere from local: nixos-rebuild switch --flake .#<host> --target-host root@<ipaddr> --use-remote-sudo