From 652b59375f37ce63c42f50cdc575d38247ef6f28 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 15 Apr 2018 17:05:17 +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 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/bragi.nix b/bragi.nix index 13fe4b40..6bccee8f 100644 --- a/bragi.nix +++ b/bragi.nix @@ -32,14 +32,14 @@ in rec { }; }; - interfaces = lib.genAttrs ["enp1s0" "enp2s0" "enp3s0"] { + interfaces = (lib.genAttrs ["enp1s0" "enp2s0" "enp3s0"] { proxyARP = true; useDHCP = false; - }; - - interfaces.wlp4s0 = { - proxyARP = true; - useDHCP = true; + }) // { + wlp4s0 = { + proxyARP = true; + useDHCP = true; + }; }; firewall = { -- cgit v1.2.3