1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-10 23:00:39 +02:00

feat(zackbiene): start clean; add kea instead of dhcpcd

chore: switch to hosts.toml
This commit is contained in:
oddlama 2023-07-25 18:48:42 +02:00
parent 82d757059f
commit b2b2e60725
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
19 changed files with 195 additions and 142 deletions

View file

@ -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.