move all host-specific configuration to hosts directory
This commit is contained in:
parent
7189fae109
commit
f4da07c4e6
33
flake.nix
33
flake.nix
|
@ -57,36 +57,9 @@
|
||||||
|
|
||||||
kilgharrah.imports = [ ./hosts/kilgharrah ];
|
kilgharrah.imports = [ ./hosts/kilgharrah ];
|
||||||
tohru.imports = [ ./hosts/tohru ];
|
tohru.imports = [ ./hosts/tohru ];
|
||||||
|
yevaud.imports = [ ./hosts/yevaud ];
|
||||||
yevaud = { name, nodes, ... }: {
|
orm.imports = [ ./hosts/orm ];
|
||||||
networking.hostId = "09673d65";
|
kalessin.imports = [ ./hosts/kalessin ];
|
||||||
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
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# TODO: have this work on other systems too
|
# TODO: have this work on other systems too
|
||||||
|
|
|
@ -5,6 +5,12 @@
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
networking.hostId = "534b538e";
|
||||||
|
deployment = {
|
||||||
|
targetHost = "kalessin.birdsong.network";
|
||||||
|
buildOnTarget = true;
|
||||||
|
};
|
||||||
|
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
|
|
@ -5,9 +5,12 @@
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
networking.hostId = "00000000";
|
||||||
|
deployment.targetHost = "orm.birdsong.network";
|
||||||
|
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
|
||||||
users.users.qenya.extraGroups = [ "wheel" ];
|
users.users.qenya.extraGroups = [ "wheel" ];
|
||||||
qenya.base-server.enable = true;
|
qenya.base-server.enable = true;
|
||||||
|
|
|
@ -5,6 +5,9 @@
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
networking.hostId = "09673d65";
|
||||||
|
deployment.targetHost = "yevaud.birdsong.network";
|
||||||
|
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
|
Loading…
Reference in a new issue