skipper: use common network config

This commit is contained in:
Adithya 2024-07-07 00:25:54 +05:30
parent f7ddf5efe8
commit 48ba89dd87
Signed by: adtya
GPG key ID: B8857BFBA2C47B9C

View file

@ -1,5 +1,6 @@
{ lib, ... }: { _: {
imports = [ imports = [
../../shared/network.nix
./wireguard.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 = { networkmanager = {
enable = true; enable = true;
dhcp = "dhcpcd"; dhcp = "dhcpcd";
@ -43,8 +37,6 @@
}; };
}; };
useDHCP = lib.mkDefault false;
wireless.iwd = { wireless.iwd = {
enable = true; enable = true;
settings = { settings = {
@ -58,12 +50,4 @@
}; };
}; };
}; };
services.resolved = {
enable = true;
dnssec = "true";
dnsovertls = "true";
domains = [ "~." ];
fallbackDns = [ ];
};
} }