mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-30 17:10:18 +02: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
|
@ -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…
Reference in a new issue