move networking.hostId
to hosts
This commit is contained in:
parent
70bc3b1829
commit
96575d1a00
4 changed files with 9 additions and 2 deletions
hosts
modules/nixos
|
@ -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";
|
||||
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
{
|
||||
imports = [ inputs.disko.nixosModules.disko ];
|
||||
|
||||
networking.hostId = "deadbeef";
|
||||
|
||||
# this is both efi and bios compatible
|
||||
boot.loader.grub = {
|
||||
enable = true;
|
||||
|
|
Loading…
Add table
Reference in a new issue