nixos/tailscale: 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:
Naïm Favier 2022-03-29 21:24:30 +02:00
parent 458ac47a1d
commit 953a5bd3dd
No known key found for this signature in database
GPG key ID: 95AFCE8211908325

View file

@ -46,7 +46,7 @@ in {
systemd.services.tailscaled = {
wantedBy = [ "multi-user.target" ];
path = [
pkgs.openresolv # for configuring DNS in some configs
config.networking.resolvconf.package # for configuring DNS in some configs
pkgs.procps # for collecting running services (opt-in feature)
pkgs.glibc # for `getent` to look up user shells
];