infra/nix
2023-12-02 21:46:21 +01:00
..
hosts nix(loki): disable nix-serve 2023-12-02 21:46:21 +01:00
modules nix: add bottom pkg 2023-12-02 21:41:23 +01:00
secrets nix: extract {net,coredns} stuff into a module 2023-11-17 22:15:11 +01:00
.sops.yaml nix: add monoceros system configuration 2023-12-02 19:15:45 +01:00
flake.lock nix: add loki system configuration 2023-10-15 22:16:06 +02:00
flake.nix nix: add monoceros system configuration 2023-12-02 19:15:45 +01:00
README.md nix: add loki system configuration 2023-10-15 22:16:06 +02:00

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.