tv: add default networking.hostId

This commit is contained in:
tv 2023-02-02 16:50:29 +01:00
parent eb39234ba8
commit fc00990f71
2 changed files with 1 additions and 2 deletions

View File

@ -13,8 +13,6 @@ with import ./lib;
krebs.build.host = config.krebs.hosts.bu; krebs.build.host = config.krebs.hosts.bu;
networking.hostId = lib.mkDefault "00000000";
networking.wireless.enable = true; networking.wireless.enable = true;
networking.useDHCP = false; networking.useDHCP = false;
networking.interfaces.enp0s25.useDHCP = true; networking.interfaces.enp0s25.useDHCP = true;

View File

@ -6,6 +6,7 @@ with import ./lib;
krebs.build.user = config.krebs.users.tv; krebs.build.user = config.krebs.users.tv;
networking.hostId = mkDefault (hashToLength 8 config.networking.hostName);
networking.hostName = config.krebs.build.host.name; networking.hostName = config.krebs.build.host.name;
imports = [ imports = [