From 901c3a85932cfe5951dc91eb186cdad73b9ef18c Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 15 Apr 2018 17:12:07 +0200 Subject: =?UTF-8?q?=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bragi.nix | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/bragi.nix b/bragi.nix index a46f8378..e8489353 100644 --- a/bragi.nix +++ b/bragi.nix @@ -30,14 +30,22 @@ in rec { br0.interfaces = [ "enp1s0" "enp2s0" "enp3s0" "wlp4s0" ]; }; - interfaces = (lib.genAttrs ["enp1s0" "enp2s0" "enp3s0"] { + interfaces.enp1s0 = { proxyARP = true; useDHCP = false; - }) // { - wlp4s0 = { - proxyARP = true; - useDHCP = true; - }; + }; + interfaces.enp2s0 = { + proxyARP = true; + useDHCP = false; + }; + interfaces.enp3s0 = { + proxyARP = true; + useDHCP = false; + }; + + interfaces.wlp4s0 = { + proxyARP = true; + useDHCP = true; }; firewall = { -- cgit v1.2.3