/machines
root machine configurations;/modules
modules used by the machines;/apps
runnable apps, used for installing and managing machines;/pkgs
software packages that are not in nixpkgs;/overlays
overlays for nixpkgs.
Machines use zfs where all data is shredded on boot unless stored (or sys
linked) from /persist
or /keep
. /persist
is intended to be backed up.
Boot from a nixos image and setup internet connectivity. Follow the installer application's instructions.
$ nix run --experimental-features 'nix-command flakes' github:joshvanl/nixos
After you have installed, rebooted & logged in, run:
$ sudo nix run /keep/etc/nixos#post-install
Install a specific commit:
$ nix run --experimental-features 'nix-command flakes' github:joshvanl/nixos/9914fa7
When installing from a different repo, ensure the NIXOS_REPO
environment
variable is set:
$ NIXOS_REPO='notme/diffnixos' sudo nix run --experimental-features 'nix-command flakes' github:notme/diffnixos