From 50b6bf003973283f63e55b668d28bcbd952fbeaa Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 9 Aug 2017 17:39:27 +0200 Subject: Correct domain for bragi --- bragi.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bragi.nix b/bragi.nix index 69a795dd..f2c6af00 100644 --- a/bragi.nix +++ b/bragi.nix @@ -227,6 +227,8 @@ in rec { setSendmail = true; }; + networking.domain = "bragisheimr.yggdrasil"; + services.dhcpd4 = { enable = true; interfaces = [ "enp1s0" @@ -234,7 +236,7 @@ in rec { extraConfig = '' option subnet-mask 255.255.255.0; option domain-name-servers 10.141.1.1, 8.8.8.8, 8.8.4.4; - option domain-name "bragisheimr.yggdrasil"; + option domain-name "${networking.domain}"; option routers 10.141.4.1; subnet 10.141.4.0 netmask 255.255.255.0 { range 10.141.4.100 10.141.4.254; -- cgit v1.2.3