Use options.c3d2 at hydra, pulsebert, storage-ng
This commit is contained in:
parent
5aef044fbd
commit
0ec4127225
|
@ -1,6 +1,7 @@
|
|||
# Registry of C3D2 machines.
|
||||
|
||||
let hosts = [ "adc" "grafana" "server7" "tox" ];
|
||||
let
|
||||
hosts = [ "adc" "grafana" "hydra" "server7" "storage-ng" "pulsebert" "tox" ];
|
||||
in {
|
||||
hqPublic = hosts;
|
||||
hqPrivate = hosts;
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
<nixpkgs/nixos/modules/profiles/minimal.nix>
|
||||
./hydra.nix
|
||||
./cache.nix
|
||||
../../lib
|
||||
../../lib/hq.nix
|
||||
../../lib/known-hosts.nix
|
||||
../../lib/emery.nix
|
||||
|
@ -13,6 +14,12 @@
|
|||
../../lib/tun.nix
|
||||
];
|
||||
|
||||
c3d2 = {
|
||||
isInHq = true;
|
||||
mapHqHosts = true;
|
||||
hq.interface = "eth0";
|
||||
};
|
||||
|
||||
networking.interfaces.eth0.preferTempAddress = false;
|
||||
services.yggdrasil = {
|
||||
configFile = "/var/lib/yggdrasil/keys";
|
||||
|
|
|
@ -11,6 +11,7 @@ in {
|
|||
imports =
|
||||
[ # Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
../../lib
|
||||
../../lib/admins.nix
|
||||
../../lib/hq.nix
|
||||
../../lib/users.nix
|
||||
|
@ -19,6 +20,12 @@ in {
|
|||
../../lib/hail.nix
|
||||
];
|
||||
|
||||
c3d2 = {
|
||||
isInHq = true;
|
||||
mapHqHosts = true;
|
||||
hq.interface = "eno1";
|
||||
};
|
||||
|
||||
# Use the systemd-boot EFI boot loader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
|
|
@ -40,8 +40,8 @@
|
|||
};
|
||||
|
||||
services.collectd.extraConfig = ''
|
||||
LoadPlugin load
|
||||
LoadPlugin interface
|
||||
<Plugin "interface"/>
|
||||
<Plugin "load"/>
|
||||
'';
|
||||
|
||||
}
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
imports =
|
||||
[ # Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
../../lib
|
||||
../../lib/hq.nix
|
||||
../../lib/shared.nix
|
||||
../../lib/users.nix
|
||||
|
@ -16,6 +17,12 @@
|
|||
../../lib/default-gateway.nix
|
||||
];
|
||||
|
||||
c3d2 = {
|
||||
isInHq = true;
|
||||
mapHqHosts = true;
|
||||
hq.interface = "eth0";
|
||||
};
|
||||
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
systemd = {
|
||||
enableEmergencyMode = false;
|
||||
|
|
Loading…
Reference in New Issue