A collection of machine configurations, expressed in Nix. Adapted from cmacrae/config & rycee/home-manager
$ NIX_PATH=$NIX_PATH:nixos-config=/home/tgunnoe/src/config/machines/<target system>/configuration.nix \
sudo nixos-rebuild switch \
-I nixos-config=/home/tgunnoe/src/config/machines/<target system>/configuration.nix
Note: <target system> here should point to the relevant directory for the system to build
nix.nixPath
should also be updated to reflect the path.
After this, nixos-rebuild
will just point at this configuration naturally.