diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2015-06-16 23:27:56 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2015-06-16 23:27:56 +0200 |
commit | a59e78126b5da89da5e6b9d785126c9e4ffd9a58 (patch) | |
tree | 5edccc45b52a412f4c8ee55d3519743b71588f60 /bragi.nix | |
parent | f6f7d4eddcca7d888f4f6c3edf0d8a8862a17eb4 (diff) | |
download | nixos-a59e78126b5da89da5e6b9d785126c9e4ffd9a58.tar nixos-a59e78126b5da89da5e6b9d785126c9e4ffd9a58.tar.gz nixos-a59e78126b5da89da5e6b9d785126c9e4ffd9a58.tar.bz2 nixos-a59e78126b5da89da5e6b9d785126c9e4ffd9a58.tar.xz nixos-a59e78126b5da89da5e6b9d785126c9e4ffd9a58.zip |
better interfaces config
Diffstat (limited to 'bragi.nix')
-rw-r--r-- | bragi.nix | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -181,9 +181,6 @@ | |||
181 | internalIPs = [ "10.141.4.0/24" | 181 | internalIPs = [ "10.141.4.0/24" |
182 | ]; | 182 | ]; |
183 | internalInterfaces = [ "wired" | 183 | internalInterfaces = [ "wired" |
184 | "enp1s0" | ||
185 | "enp2s0" | ||
186 | "enp3s0" | ||
187 | ]; | 184 | ]; |
188 | }; | 185 | }; |
189 | 186 | ||
@@ -202,13 +199,10 @@ | |||
202 | services.dhcpd = { | 199 | services.dhcpd = { |
203 | enable = true; | 200 | enable = true; |
204 | interfaces = [ "wired" | 201 | interfaces = [ "wired" |
205 | "enp1s0" | ||
206 | "enp2s0" | ||
207 | "enp3s0" | ||
208 | ]; | 202 | ]; |
209 | extraConfig = '' | 203 | extraConfig = '' |
210 | option subnet-mask 255.255.255.0; | 204 | option subnet-mask 255.255.255.0; |
211 | option broadcast-address 10.141.1.1; | 205 | #option broadcast-address 10.141.1.1; |
212 | option domain-name-servers 10.141.1.1, 8.8.8.8, 8.8.4.4; | 206 | option domain-name-servers 10.141.1.1, 8.8.8.8, 8.8.4.4; |
213 | option domain-name "bragisheimr.yggdrasil"; | 207 | option domain-name "bragisheimr.yggdrasil"; |
214 | option routers 10.141.4.1; | 208 | option routers 10.141.4.1; |