Merge pull request #283618 from SuperSandro2000/tailscale-resoleconf

nixos/tailscale: make resolvconf package depending on enablement of module

authored by maxine and committed by GitHub 642317d0 32b67924

+1 -2
+1 -2
nixos/modules/services/networking/tailscale.nix
··· 74 74 systemd.services.tailscaled = { 75 75 wantedBy = [ "multi-user.target" ]; 76 76 path = [ 77 - config.networking.resolvconf.package # for configuring DNS in some configs 78 77 pkgs.procps # for collecting running services (opt-in feature) 79 78 pkgs.getent # for `getent` to look up user shells 80 79 pkgs.kmod # required to pass tailscale's v6nat check 81 - ]; 80 + ] ++ lib.optional config.networking.resolvconf.enable config.networking.resolvconf.package; 82 81 serviceConfig.Environment = [ 83 82 "PORT=${toString cfg.port}" 84 83 ''"FLAGS=--tun ${lib.escapeShellArg cfg.interfaceName}"''