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 ];
|
||||
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
|
||||
|
|
|
@ -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;
|
||||
|
|
@ -5,6 +5,9 @@
|
|||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
networking.hostId = "00000000";
|
||||
deployment.targetHost = "orm.birdsong.network";
|
||||
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
|
@ -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;
|
||||
|
Loading…
Reference in a new issue