From af47b0ed9767d27d1a40b49a95c606cb3602615d Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 22 Apr 2018 14:07:52 +0200 Subject: Additional dns searching --- bragi.nix | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/bragi.nix b/bragi.nix index 53a14c13..d97e0f35 100644 --- a/bragi.nix +++ b/bragi.nix @@ -32,16 +32,6 @@ in rec { eth.interfaces = [ "enp1s0" "enp2s0" "enp3s0" ]; }; - interfaces.enp1s0 = { - useDHCP = false; - }; - interfaces.enp2s0 = { - useDHCP = false; - }; - interfaces.enp3s0 = { - useDHCP = false; - }; - interfaces.eth = { useDHCP = false; ipv4.addresses = [ @@ -49,10 +39,6 @@ in rec { ]; }; - interfaces.wlp4s0 = { - useDHCP = true; - }; - nat = { enable = true; externalInterface = "wlp4s0"; @@ -124,6 +110,7 @@ in rec { option subnet-mask 255.255.225.0; option domain-name-servers 10.141.1.1, 8.8.8.8, 8.8.4.4; option domain-name "bragisheimr.yggdrasil"; + option domain-search "asgard.yggdrasil" "yggdrasil"; option routers 10.141.4.1; subnet 10.141.4.0 netmask 255.255.255.0 { -- cgit v1.2.3