mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
networkmanager service: override DNS when it's actually needed
Logic expression was incorrect before.
This commit is contained in:
parent
ccbb08ed88
commit
68de116eb4
1 changed files with 1 additions and 1 deletions
|
@ -427,7 +427,7 @@ in {
|
|||
{ source = "${networkmanager-iodine}/lib/NetworkManager/VPN/nm-iodine-service.name";
|
||||
target = "NetworkManager/VPN/nm-iodine-service.name";
|
||||
}
|
||||
] ++ optional (cfg.appendNameservers == [] || cfg.insertNameservers == [])
|
||||
] ++ optional (cfg.appendNameservers != [] || cfg.insertNameservers != [])
|
||||
{ source = overrideNameserversScript;
|
||||
target = "NetworkManager/dispatcher.d/02overridedns";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue