diff options
-rw-r--r-- | bragi.nix | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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; |