Stores (the Nix/NixOS) configuration of all the machines I work with or on
In order to apply the given configuration for a machine:
- Start with an existing NixOS install or bring up a vanilla install. Note: make sure to have
git
as a system package to begin with - check out the repository
- clear out the existing
etc/nixos/
directory ln -s $REPO/$MACHINE/configuration.nix /etc/nixos/configuration.nix
so the configuration.nix from this repository is usedsudo nixos-rebuild switch
to use the new configuration- Enjoy