diff options
author | tv <tv@krebsco.de> | 2023-02-02 16:50:29 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2023-02-02 16:50:29 +0100 |
commit | fc00990f712663688e5aea85624cb9317e9f4128 (patch) | |
tree | dbebb0dd11f5feee534e0fe9edaa164be8b9e56d /tv | |
parent | eb39234ba8375d7274d70af678175ffe88109cb3 (diff) |
tv: add default networking.hostId
Diffstat (limited to 'tv')
-rw-r--r-- | tv/1systems/bu/config.nix | 2 | ||||
-rw-r--r-- | tv/2configs/default.nix | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/tv/1systems/bu/config.nix b/tv/1systems/bu/config.nix index c7f7da24d..a3959cd84 100644 --- a/tv/1systems/bu/config.nix +++ b/tv/1systems/bu/config.nix @@ -13,8 +13,6 @@ with import ./lib; krebs.build.host = config.krebs.hosts.bu; - networking.hostId = lib.mkDefault "00000000"; - networking.wireless.enable = true; networking.useDHCP = false; networking.interfaces.enp0s25.useDHCP = true; diff --git a/tv/2configs/default.nix b/tv/2configs/default.nix index d1384845a..53b11c620 100644 --- a/tv/2configs/default.nix +++ b/tv/2configs/default.nix @@ -6,6 +6,7 @@ with import ./lib; krebs.build.user = config.krebs.users.tv; + networking.hostId = mkDefault (hashToLength 8 config.networking.hostName); networking.hostName = config.krebs.build.host.name; imports = [ |