Modularize custom network options, to allow EduRoam wifi to work on select devices
This commit is contained in:
parent
f619a0e069
commit
d9e30cd69e
5 changed files with 27 additions and 13 deletions
11
modules/system/devices/networking/nameservers/default.nix
Normal file
11
modules/system/devices/networking/nameservers/default.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
networking.nameservers = lib.mkIf config.networking.useNetworkd [
|
||||
"2620:fe::11#dns11.quad9.net"
|
||||
"2620:fe::fe:11#dns11.quad9.net"
|
||||
"9.9.9.11#dns11.quad9.net"
|
||||
"149.112.112.11#dns11.quad9.net"
|
||||
];
|
||||
|
||||
services.resolved.fallbackDns = config.networking.nameservers;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue