mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
nixos/dhcpcd: use networking.resolvconf.package
Allow using the appropriate resolver implementation to set DNS entries (typically systemd-resolved instead of openresolv).
This commit is contained in:
parent
953a5bd3dd
commit
4af5c46faa
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,7 @@ in
|
|||
# dhcpcd. So do a "systemctl restart" instead.
|
||||
stopIfChanged = false;
|
||||
|
||||
path = [ dhcpcd pkgs.nettools pkgs.openresolv ];
|
||||
path = [ dhcpcd pkgs.nettools config.networking.resolvconf.package ];
|
||||
|
||||
unitConfig.ConditionCapability = "CAP_NET_ADMIN";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue