container config: better default in case of resolved
Avoid assertion in nixos/modules/system/boot/resolved.nix if service systemd-resolved is enabled.
This commit is contained in:
parent
cca5cb5a02
commit
28853d8954
@ -10,7 +10,7 @@ with lib;
|
||||
services.udisks2.enable = mkDefault false;
|
||||
powerManagement.enable = mkDefault false;
|
||||
|
||||
networking.useHostResolvConf = mkDefault true;
|
||||
networking.useHostResolvConf = mkDefault (!config.services.resolved.enable);
|
||||
|
||||
# Containers should be light-weight, so start sshd on demand.
|
||||
services.openssh.startWhenNeeded = mkDefault true;
|
||||
|
Loading…
Reference in New Issue
Block a user