infra/nix/README.md

585 B

infra/nix

:nixos: NixOS configurations

  • ./hosts folder contains host-specific configurations
  • ./modules folder contains reusable code

🚀 deploy (build and switch to a new system) remotely using:

nixos-rebuild switch --fast --flake .#loki --target-host loki

where the target host loki is the ssh-config name of the host being configured using the .#loki attribute of nixosConfigurations.

see nixosConfigurations attr in ./flake.nix for a complete list of hosts.