move networking.hostId to hosts

This commit is contained in:
zowoq 2024-07-25 18:41:00 +10:00
parent 70bc3b1829
commit 96575d1a00
4 changed files with 9 additions and 2 deletions

View file

@ -12,6 +12,9 @@
inputs.self.nixosModules.emergency-access
];
# set in srvos, remove when reinstalling
networking.hostId = "deadbeef";
# the default zpool import services somehow times out while this import works fine?
boot.initrd.systemd.services.zfs-import-zroot.serviceConfig.ExecStartPre = "${config.boot.zfs.package}/bin/zpool import -N -f zroot";

View file

@ -17,6 +17,9 @@
./postgresql.nix
];
# set in srvos, remove when reinstalling
networking.hostId = "deadbeef";
nixCommunity.gc.gbFree = 500;
systemd.network.networks."10-uplink".networkConfig.Address = "2a01:4f9:3b:2946::1/64";

View file

@ -9,6 +9,9 @@
inputs.self.nixosModules.remote-builder
];
# set in srvos, remove when reinstalling
networking.hostId = "deadbeef";
nixCommunity.remote-builder.key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEmdo1x1QkRepZf7nSe+OdEWX+wOjkBLF70vX9F+xf68 builder";
networking.hostName = "build04";

View file

@ -2,8 +2,6 @@
{
imports = [ inputs.disko.nixosModules.disko ];
networking.hostId = "deadbeef";
# this is both efi and bios compatible
boot.loader.grub = {
enable = true;