diff options
-rw-r--r-- | bragi.nix | 20 |
1 files changed, 14 insertions, 6 deletions
@@ -30,14 +30,22 @@ in rec { | |||
30 | br0.interfaces = [ "enp1s0" "enp2s0" "enp3s0" "wlp4s0" ]; | 30 | br0.interfaces = [ "enp1s0" "enp2s0" "enp3s0" "wlp4s0" ]; |
31 | }; | 31 | }; |
32 | 32 | ||
33 | interfaces = (lib.genAttrs ["enp1s0" "enp2s0" "enp3s0"] { | 33 | interfaces.enp1s0 = { |
34 | proxyARP = true; | 34 | proxyARP = true; |
35 | useDHCP = false; | 35 | useDHCP = false; |
36 | }) // { | 36 | }; |
37 | wlp4s0 = { | 37 | interfaces.enp2s0 = { |
38 | proxyARP = true; | 38 | proxyARP = true; |
39 | useDHCP = true; | 39 | useDHCP = false; |
40 | }; | 40 | }; |
41 | interfaces.enp3s0 = { | ||
42 | proxyARP = true; | ||
43 | useDHCP = false; | ||
44 | }; | ||
45 | |||
46 | interfaces.wlp4s0 = { | ||
47 | proxyARP = true; | ||
48 | useDHCP = true; | ||
41 | }; | 49 | }; |
42 | 50 | ||
43 | firewall = { | 51 | firewall = { |