diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-08-09 17:41:01 +0200 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-08-09 17:41:01 +0200 |
| commit | c430e290dc5672ca7adedd6d27be84ba245fd51a (patch) | |
| tree | bc883af0fcfe5f3917c1a83f7cd1e80a6855d7eb | |
| parent | 50b6bf003973283f63e55b668d28bcbd952fbeaa (diff) | |
| download | nixos-c430e290dc5672ca7adedd6d27be84ba245fd51a.tar nixos-c430e290dc5672ca7adedd6d27be84ba245fd51a.tar.gz nixos-c430e290dc5672ca7adedd6d27be84ba245fd51a.tar.bz2 nixos-c430e290dc5672ca7adedd6d27be84ba245fd51a.tar.xz nixos-c430e290dc5672ca7adedd6d27be84ba245fd51a.zip | |
search instead of domain
| -rw-r--r-- | bragi.nix | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -227,7 +227,7 @@ in rec { | |||
| 227 | setSendmail = true; | 227 | setSendmail = true; |
| 228 | }; | 228 | }; |
| 229 | 229 | ||
| 230 | networking.domain = "bragisheimr.yggdrasil"; | 230 | networking.search = [ "bragisheimr.yggdrasil" "asgard.yggdrasil" ]; |
| 231 | 231 | ||
| 232 | services.dhcpd4 = { | 232 | services.dhcpd4 = { |
| 233 | enable = true; | 233 | enable = true; |
| @@ -236,7 +236,7 @@ in rec { | |||
| 236 | extraConfig = '' | 236 | extraConfig = '' |
| 237 | option subnet-mask 255.255.255.0; | 237 | option subnet-mask 255.255.255.0; |
| 238 | 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; |
| 239 | option domain-name "${networking.domain}"; | 239 | option domain-name "bragisheimr.yggdrasil"; |
| 240 | option routers 10.141.4.1; | 240 | option routers 10.141.4.1; |
| 241 | subnet 10.141.4.0 netmask 255.255.255.0 { | 241 | subnet 10.141.4.0 netmask 255.255.255.0 { |
| 242 | range 10.141.4.100 10.141.4.254; | 242 | range 10.141.4.100 10.141.4.254; |
