skipper: use common network config
This commit is contained in:
parent
f7ddf5efe8
commit
48ba89dd87
1 changed files with 2 additions and 18 deletions
|
@ -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 = [ ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue