Merge pull request #15560 from peterhoeg/nm_dnsdhcp
nixos/networkmanager: tiny cleanups
This commit is contained in:
commit
423eb16913
@ -27,6 +27,7 @@ let
|
|||||||
|
|
||||||
[logging]
|
[logging]
|
||||||
level=${cfg.logLevel}
|
level=${cfg.logLevel}
|
||||||
|
audit=${lib.boolToString config.security.audit.enable}
|
||||||
|
|
||||||
[connection]
|
[connection]
|
||||||
ipv6.ip6-privacy=2
|
ipv6.ip6-privacy=2
|
||||||
@ -508,8 +509,9 @@ in {
|
|||||||
|
|
||||||
security.polkit.extraConfig = polkitConf;
|
security.polkit.extraConfig = polkitConf;
|
||||||
|
|
||||||
services.dbus.packages =
|
services.dbus.packages = cfg.packages
|
||||||
optional cfg.enableStrongSwan pkgs.strongswanNM ++ cfg.packages;
|
++ optional cfg.enableStrongSwan pkgs.strongswanNM
|
||||||
|
++ optional (cfg.dns == "dnsmasq") pkgs.dnsmasq;
|
||||||
|
|
||||||
services.udev.packages = cfg.packages;
|
services.udev.packages = cfg.packages;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user