move all host-specific configuration to hosts directory

This commit is contained in:
Katherina Walshe-Grey 2024-09-17 17:22:58 +01:00
parent 7189fae109
commit f4da07c4e6
4 changed files with 16 additions and 31 deletions

View file

@ -57,36 +57,9 @@
kilgharrah.imports = [ ./hosts/kilgharrah ];
tohru.imports = [ ./hosts/tohru ];
yevaud = { name, nodes, ... }: {
networking.hostId = "09673d65";
deployment.targetHost = "yevaud.birdsong.network";
imports = [
./hosts/yevaud/configuration.nix
];
};
orm = { name, nodes, ... }: {
networking.hostId = "00000000";
deployment.targetHost = "orm.birdsong.network";
imports = [
./hosts/orm/configuration.nix
];
};
kalessin = { name, nodes, ... }: {
networking.hostId = "534b538e";
deployment = {
targetHost = "kalessin.birdsong.network";
buildOnTarget = true;
};
imports = [
./hosts/kalessin/configuration.nix
];
};
yevaud.imports = [ ./hosts/yevaud ];
orm.imports = [ ./hosts/orm ];
kalessin.imports = [ ./hosts/kalessin ];
};
# TODO: have this work on other systems too