diff options
author | Naïm Favier <n@monade.li> | 2022-03-29 21:24:30 +0200 |
---|---|---|
committer | Naïm Favier <n@monade.li> | 2022-06-21 22:58:44 +0200 |
commit | 953a5bd3dd3c527d6549592e0b7dbb96d5999bc2 (patch) | |
tree | de6b72cf6c20927104a463be29fad2da562f94f9 /nixos/modules/services/networking/tailscale.nix | |
parent | 458ac47a1d5491dfb610cb8faaffcf5d5445b224 (diff) | |
download | nixpkgs-953a5bd3dd3c527d6549592e0b7dbb96d5999bc2.tar nixpkgs-953a5bd3dd3c527d6549592e0b7dbb96d5999bc2.tar.gz nixpkgs-953a5bd3dd3c527d6549592e0b7dbb96d5999bc2.tar.bz2 nixpkgs-953a5bd3dd3c527d6549592e0b7dbb96d5999bc2.tar.lz nixpkgs-953a5bd3dd3c527d6549592e0b7dbb96d5999bc2.tar.xz nixpkgs-953a5bd3dd3c527d6549592e0b7dbb96d5999bc2.tar.zst nixpkgs-953a5bd3dd3c527d6549592e0b7dbb96d5999bc2.zip |
nixos/tailscale: use `networking.resolvconf.package`
Allow using the appropriate resolver implementation to set DNS entries (typically systemd-resolved instead of openresolv).
Diffstat (limited to 'nixos/modules/services/networking/tailscale.nix')
-rw-r--r-- | nixos/modules/services/networking/tailscale.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/tailscale.nix b/nixos/modules/services/networking/tailscale.nix index 0133874d0e0..aae5dacddf2 100644 --- a/nixos/modules/services/networking/tailscale.nix +++ b/nixos/modules/services/networking/tailscale.nix @@ -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 ]; |