flake/nixosConfigurations.nix: Generate hostname from host attribute name
This commit is contained in:
47
flake.nix
47
flake.nix
@@ -43,55 +43,50 @@
|
||||
in {
|
||||
clerie.hosts = {
|
||||
aluminium = {
|
||||
name = "aluminium";
|
||||
group = "event";
|
||||
};
|
||||
astatine = {
|
||||
name = "astatine";
|
||||
group = "event";
|
||||
modules = [
|
||||
./users/criese-nethinks
|
||||
./users/isa
|
||||
];
|
||||
};
|
||||
backup-4 = { name = "backup-4"; };
|
||||
backup-4 = {};
|
||||
beryllium = {
|
||||
name = "beryllium";
|
||||
group = "event";
|
||||
};
|
||||
carbon = { name = "carbon"; };
|
||||
clerie-backup = { name = "clerie-backup"; };
|
||||
dn42-il-gw1 = { name = "dn42-il-gw1"; };
|
||||
dn42-il-gw5 = { name = "dn42-il-gw5"; };
|
||||
dn42-il-gw6 = { name = "dn42-il-gw6"; };
|
||||
dn42-ildix-clerie = { name = "dn42-ildix-clerie"; };
|
||||
dn42-ildix-service = { name = "dn42-ildix-service"; };
|
||||
gatekeeper = { name = "gatekeeper"; };
|
||||
hydra-1 = { name = "hydra-1"; };
|
||||
hydra-2 = { name = "hydra-2"; };
|
||||
carbon = {};
|
||||
clerie-backup = {};
|
||||
dn42-il-gw1 = {};
|
||||
dn42-il-gw5 = {};
|
||||
dn42-il-gw6 = {};
|
||||
dn42-ildix-clerie = {};
|
||||
dn42-ildix-service = {};
|
||||
gatekeeper = {};
|
||||
hydra-1 = {};
|
||||
hydra-2 = {};
|
||||
krypton = {
|
||||
name = "krypton";
|
||||
modules = [
|
||||
nixos-hardware.nixosModules.lenovo-thinkpad-x270
|
||||
];
|
||||
};
|
||||
mail-2 = { name = "mail-2"; };
|
||||
minecraft-2 = { name = "minecraft-2"; };
|
||||
monitoring-3 = { name = "monitoring-3"; };
|
||||
nonat = { name = "nonat"; };
|
||||
osmium = { name = "osmium"; };
|
||||
palladium = { name = "palladium"; };
|
||||
porter = { name = "porter"; };
|
||||
storage-2 = { name = "storage-2"; };
|
||||
web-2 = { name = "web-2"; };
|
||||
mail-2 = {};
|
||||
minecraft-2 = {};
|
||||
monitoring-3 = {};
|
||||
nonat = {};
|
||||
osmium = {};
|
||||
palladium = {};
|
||||
porter = {};
|
||||
storage-2 = {};
|
||||
web-2 = {};
|
||||
zinc = {
|
||||
name = "zinc";
|
||||
modules = [
|
||||
nixos-hardware.nixosModules.common-cpu-intel
|
||||
];
|
||||
};
|
||||
# nixfiles-auto-install: add new host above
|
||||
_iso = { name = "_iso"; };
|
||||
_iso = {};
|
||||
};
|
||||
|
||||
nixosConfigurations = import ./flake/nixosConfigurations.nix inputs;
|
||||
|
Reference in New Issue
Block a user