diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-22 11:41:43 +0200 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-22 11:41:43 +0200 |
| commit | 9815ad5715468d0dd84fc2106a310c8e86a579b3 (patch) | |
| tree | 76960e9b4de84c7e24037dfb4cdc4327220495e5 | |
| parent | b6f1a0315c514e4e2581c80075bda3d2d197c853 (diff) | |
| download | nixos-9815ad5715468d0dd84fc2106a310c8e86a579b3.tar nixos-9815ad5715468d0dd84fc2106a310c8e86a579b3.tar.gz nixos-9815ad5715468d0dd84fc2106a310c8e86a579b3.tar.bz2 nixos-9815ad5715468d0dd84fc2106a310c8e86a579b3.tar.xz nixos-9815ad5715468d0dd84fc2106a310c8e86a579b3.zip | |
…
| -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 | ||
