mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
nixos: Fix error in assertion (introduced by #41715)
This commit is contained in:
parent
dad6f732d5
commit
5a566004a2
1 changed files with 1 additions and 1 deletions
|
@ -313,7 +313,7 @@ in {
|
|||
{ assertion = config.networking.wireless.enable == false;
|
||||
message = "You can not use networking.networkmanager with networking.wireless";
|
||||
}
|
||||
{ assertion = dynamicHostsEnabled && cfg.useDnsmasq;
|
||||
{ assertion = !dynamicHostsEnabled || (dynamicHostsEnabled && cfg.useDnsmasq);
|
||||
message = ''
|
||||
To use networking.networkmanager.dynamicHosts you also need to enable
|
||||
networking.networkmanager.useDnsmasq
|
||||
|
|
Loading…
Reference in a new issue