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

View file

@ -5,6 +5,12 @@
./hardware-configuration.nix
];
networking.hostId = "534b538e";
deployment = {
targetHost = "kalessin.birdsong.network";
buildOnTarget = true;
};
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;

View file

@ -5,9 +5,12 @@
./hardware-configuration.nix
];
networking.hostId = "00000000";
deployment.targetHost = "orm.birdsong.network";
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
users.users.qenya.extraGroups = [ "wheel" ];
qenya.base-server.enable = true;

View file

@ -5,6 +5,9 @@
./hardware-configuration.nix
];
networking.hostId = "09673d65";
deployment.targetHost = "yevaud.birdsong.network";
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;