diff options
author | Franz Pletz <fpletz@fnordicwalking.de> | 2024-09-28 15:22:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-28 15:22:40 +0200 |
commit | a3f79b7d632669c23ad3f462be09d2dedfa4f66c (patch) | |
tree | f63c43be029fb1c50ad3ebf1bd69dc1236ae3908 | |
parent | c813969149a415f1eda8fecbabb6b54cd119a248 (diff) | |
parent | 938d190ed26346947c2fc8a5eb7059d1a56e9ade (diff) |
tailscale: add `su` to path (#344947)
-rw-r--r-- | nixos/modules/services/networking/tailscale.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/tailscale.nix b/nixos/modules/services/networking/tailscale.nix index 6804165cd8c26..fe878591166a8 100644 --- a/nixos/modules/services/networking/tailscale.nix +++ b/nixos/modules/services/networking/tailscale.nix @@ -117,6 +117,7 @@ in { systemd.services.tailscaled = { wantedBy = [ "multi-user.target" ]; path = [ + (builtins.dirOf config.security.wrapperDir) # for `su` to use taildrive with correct access rights pkgs.procps # for collecting running services (opt-in feature) pkgs.getent # for `getent` to look up user shells pkgs.kmod # required to pass tailscale's v6nat check |