forked from mirrors_public/oddlama_nix-config
feat(zackbiene): start clean; add kea instead of dhcpcd
chore: switch to hosts.toml
This commit is contained in:
parent
82d757059f
commit
b2b2e60725
19 changed files with 195 additions and 142 deletions
17
flake.nix
17
flake.nix
|
@ -92,19 +92,10 @@
|
|||
extraEncryptionPubkeys = [./secrets/backup.pub];
|
||||
};
|
||||
|
||||
# This is the list of hosts that this flake defines, plus the minimum
|
||||
# amount of metadata that is necessary to instanciate it correctly.
|
||||
hosts = let
|
||||
nixos = system: {
|
||||
type = "nixos";
|
||||
inherit system;
|
||||
};
|
||||
in {
|
||||
nom = nixos "x86_64-linux";
|
||||
sentinel = nixos "x86_64-linux";
|
||||
ward = nixos "x86_64-linux";
|
||||
zackbiene = nixos "aarch64-linux";
|
||||
};
|
||||
# Load the list of hosts that this flake defines, which
|
||||
# associates the minimum amount of metadata that is necessary
|
||||
# to instanciate hosts correctly.
|
||||
hosts = builtins.fromTOML (builtins.readFile ./hosts.toml);
|
||||
|
||||
# This will process all defined hosts of type "nixos" and
|
||||
# generate the required colmena definition for each host.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue