From 48ba89dd87e245bf0d9b8185e8a409ae459b3591 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Sun, 7 Jul 2024 00:25:54 +0530 Subject: [PATCH] skipper: use common network config --- hosts/skipper/network/default.nix | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/hosts/skipper/network/default.nix b/hosts/skipper/network/default.nix index 2653563..65d9a75 100644 --- a/hosts/skipper/network/default.nix +++ b/hosts/skipper/network/default.nix @@ -1,5 +1,6 @@ -{ lib, ... }: { +_: { imports = [ + ../../shared/network.nix ./wireguard.nix ]; @@ -26,13 +27,6 @@ ]; }; - nameservers = [ - "2620:fe::fe#dns.quad9.net" - "9.9.9.9#dns.quad9.net" - "2620:fe::9#dns.quad9.net" - "149.112.112.112#dns.quad9.net" - ]; - networkmanager = { enable = true; dhcp = "dhcpcd"; @@ -43,8 +37,6 @@ }; }; - useDHCP = lib.mkDefault false; - wireless.iwd = { enable = true; settings = { @@ -58,12 +50,4 @@ }; }; }; - - services.resolved = { - enable = true; - dnssec = "true"; - dnsovertls = "true"; - domains = [ "~." ]; - fallbackDns = [ ]; - }; }