forked from emily/nixfiles
826 B
826 B
emilys Nix Infra
First deployment
$ nix run github:nix-community/nixos-anywhere -- --flake ".#<configuration>" root@<target-host>
Deploy changes on ...
all hosts
$ colmena apply --on @production
routers only
$ colmena apply --on @router
Structure
nixfiles
├── config # NixOS configuration
│ ├── common # configuration applyed to all hosts (some settings might be influenced by machine-type)
│ │ └── users # user configuration
│ ├── hosts # configuration for specific hosts
│ ├── profiles # configuariotn for specific machine types
│ └── services # common service configuration
└── modules # NixOS modules