networkmanager: Expand dns description, integrate with other services (#41898)

Rather than special-casing the dns options in networkmanager.nix, use
the module system to let unbound and systemd-resolved contribute to
the newtorkmanager config.
This commit is contained in:
Benjamin Staffin
2018-06-29 13:41:46 -04:00
committed by GitHub
parent 25342cd6bd
commit dca7e24a11
3 changed files with 71 additions and 19 deletions
+2
View File
@@ -147,6 +147,8 @@ in
${config.services.resolved.extraConfig}
'';
# If networkmanager is enabled, ask it to interface with resolved.
networking.networkmanager.dns = "systemd-resolved";
};
}