diff options
Diffstat (limited to 'bragi.nix')
-rw-r--r-- | bragi.nix | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -29,18 +29,20 @@ in rec { | |||
29 | wireless.enable = true; | 29 | wireless.enable = true; |
30 | 30 | ||
31 | bridges = { | 31 | bridges = { |
32 | br0.interfaces = [ "enp1s0" "enp2s0" "enp3s0" "wlp4s0" ]; | 32 | eth.interfaces = [ "enp1s0" "enp2s0" "enp3s0" ]; |
33 | }; | 33 | }; |
34 | 34 | ||
35 | interfaces.enp1s0 = { | 35 | interfaces.enp1s0 = { |
36 | proxyARP = true; | ||
37 | useDHCP = false; | 36 | useDHCP = false; |
38 | }; | 37 | }; |
39 | interfaces.enp2s0 = { | 38 | interfaces.enp2s0 = { |
40 | proxyARP = true; | ||
41 | useDHCP = false; | 39 | useDHCP = false; |
42 | }; | 40 | }; |
43 | interfaces.enp3s0 = { | 41 | interfaces.enp3s0 = { |
42 | useDHCP = false; | ||
43 | }; | ||
44 | |||
45 | interfaces.eth = { | ||
44 | proxyARP = true; | 46 | proxyARP = true; |
45 | useDHCP = false; | 47 | useDHCP = false; |
46 | }; | 48 | }; |
@@ -77,7 +79,7 @@ in rec { | |||
77 | systemd.services."dhcp-helper" = { | 79 | systemd.services."dhcp-helper" = { |
78 | serviceConfig = { | 80 | serviceConfig = { |
79 | ExecStart = '' | 81 | ExecStart = '' |
80 | ${pkgs.callPackage ./custom/dhcp-helper.nix {}}/bin/dhcp-helper -b wlp4s0 | 82 | ${pkgs.callPackage ./custom/dhcp-helper.nix {}}/bin/dhcp-helper -b wlp4s0 -n |
81 | ''; | 83 | ''; |
82 | }; | 84 | }; |
83 | 85 | ||