summaryrefslogtreecommitdiffstats
path: root/tv/2configs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2023-02-02 16:50:29 +0100
committertv <tv@krebsco.de>2023-02-02 16:50:29 +0100
commitfc00990f712663688e5aea85624cb9317e9f4128 (patch)
treedbebb0dd11f5feee534e0fe9edaa164be8b9e56d /tv/2configs
parenteb39234ba8375d7274d70af678175ffe88109cb3 (diff)
tv: add default networking.hostId
Diffstat (limited to 'tv/2configs')
-rw-r--r--tv/2configs/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/tv/2configs/default.nix b/tv/2configs/default.nix
index d1384845..53b11c62 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 = [