summaryrefslogtreecommitdiff
path: root/bragi.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2017-08-09 17:39:27 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2017-08-09 17:39:27 +0200
commit50b6bf003973283f63e55b668d28bcbd952fbeaa (patch)
tree5b02e2ea1da90fc77b42024d8b18bd06a114e9eb /bragi.nix
parentd36d2c2b8005702dca208918c32991aacb671d3f (diff)
downloadnixos-50b6bf003973283f63e55b668d28bcbd952fbeaa.tar
nixos-50b6bf003973283f63e55b668d28bcbd952fbeaa.tar.gz
nixos-50b6bf003973283f63e55b668d28bcbd952fbeaa.tar.bz2
nixos-50b6bf003973283f63e55b668d28bcbd952fbeaa.tar.xz
nixos-50b6bf003973283f63e55b668d28bcbd952fbeaa.zip
Correct domain for bragi
Diffstat (limited to 'bragi.nix')
-rw-r--r--bragi.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/bragi.nix b/bragi.nix
index 69a795dd..f2c6af00 100644
--- a/bragi.nix
+++ b/bragi.nix
@@ -227,6 +227,8 @@ in rec {
227 setSendmail = true; 227 setSendmail = true;
228 }; 228 };
229 229
230 networking.domain = "bragisheimr.yggdrasil";
231
230 services.dhcpd4 = { 232 services.dhcpd4 = {
231 enable = true; 233 enable = true;
232 interfaces = [ "enp1s0" 234 interfaces = [ "enp1s0"
@@ -234,7 +236,7 @@ in rec {
234 extraConfig = '' 236 extraConfig = ''
235 option subnet-mask 255.255.255.0; 237 option subnet-mask 255.255.255.0;
236 option domain-name-servers 10.141.1.1, 8.8.8.8, 8.8.4.4; 238 option domain-name-servers 10.141.1.1, 8.8.8.8, 8.8.4.4;
237 option domain-name "bragisheimr.yggdrasil"; 239 option domain-name "${networking.domain}";
238 option routers 10.141.4.1; 240 option routers 10.141.4.1;
239 subnet 10.141.4.0 netmask 255.255.255.0 { 241 subnet 10.141.4.0 netmask 255.255.255.0 {
240 range 10.141.4.100 10.141.4.254; 242 range 10.141.4.100 10.141.4.254;