diff options
Diffstat (limited to 'bragi.nix')
-rw-r--r-- | bragi.nix | 15 |
1 files changed, 1 insertions, 14 deletions
@@ -32,16 +32,6 @@ in rec { | |||
32 | eth.interfaces = [ "enp1s0" "enp2s0" "enp3s0" ]; | 32 | eth.interfaces = [ "enp1s0" "enp2s0" "enp3s0" ]; |
33 | }; | 33 | }; |
34 | 34 | ||
35 | interfaces.enp1s0 = { | ||
36 | useDHCP = false; | ||
37 | }; | ||
38 | interfaces.enp2s0 = { | ||
39 | useDHCP = false; | ||
40 | }; | ||
41 | interfaces.enp3s0 = { | ||
42 | useDHCP = false; | ||
43 | }; | ||
44 | |||
45 | interfaces.eth = { | 35 | interfaces.eth = { |
46 | useDHCP = false; | 36 | useDHCP = false; |
47 | ipv4.addresses = [ | 37 | ipv4.addresses = [ |
@@ -49,10 +39,6 @@ in rec { | |||
49 | ]; | 39 | ]; |
50 | }; | 40 | }; |
51 | 41 | ||
52 | interfaces.wlp4s0 = { | ||
53 | useDHCP = true; | ||
54 | }; | ||
55 | |||
56 | nat = { | 42 | nat = { |
57 | enable = true; | 43 | enable = true; |
58 | externalInterface = "wlp4s0"; | 44 | externalInterface = "wlp4s0"; |
@@ -124,6 +110,7 @@ in rec { | |||
124 | option subnet-mask 255.255.225.0; | 110 | option subnet-mask 255.255.225.0; |
125 | option domain-name-servers 10.141.1.1, 8.8.8.8, 8.8.4.4; | 111 | option domain-name-servers 10.141.1.1, 8.8.8.8, 8.8.4.4; |
126 | option domain-name "bragisheimr.yggdrasil"; | 112 | option domain-name "bragisheimr.yggdrasil"; |
113 | option domain-search "asgard.yggdrasil" "yggdrasil"; | ||
127 | option routers 10.141.4.1; | 114 | option routers 10.141.4.1; |
128 | 115 | ||
129 | subnet 10.141.4.0 netmask 255.255.255.0 { | 116 | subnet 10.141.4.0 netmask 255.255.255.0 { |