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:
@@ -147,6 +147,8 @@ in
|
||||
${config.services.resolved.extraConfig}
|
||||
'';
|
||||
|
||||
# If networkmanager is enabled, ask it to interface with resolved.
|
||||
networking.networkmanager.dns = "systemd-resolved";
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user