mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 15:29:07 +01:00
networking/overlay: Fallback to non-blocking-nameservers on clients
This commit is contained in:
parent
e6de0eab05
commit
0a8944823b
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ in
|
||||||
type = lib.types.listOf lib.types.nonEmptyStr;
|
type = lib.types.listOf lib.types.nonEmptyStr;
|
||||||
default =
|
default =
|
||||||
{
|
{
|
||||||
"client" = blocking-nameservers;
|
"client" = if (blocking-nameservers != [ ]) then blocking-nameservers else recursive-nameservers;
|
||||||
"server" = recursive-nameservers;
|
"server" = recursive-nameservers;
|
||||||
}
|
}
|
||||||
.${cfg.role};
|
.${cfg.role};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue