Merge pull request #125955 from Xe/Xe/tailscale-sysctl-not-found

nixos/tailscale: add procps to $PATH
This commit is contained in:
Luke Granger-Brown 2021-06-30 23:39:07 +01:00 committed by GitHub
commit 4fae079c53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,7 +34,7 @@ in {
systemd.packages = [ cfg.package ];
systemd.services.tailscaled = {
wantedBy = [ "multi-user.target" ];
path = [ pkgs.openresolv ];
path = [ pkgs.openresolv pkgs.procps ];
serviceConfig.Environment = [
"PORT=${toString cfg.port}"
''"FLAGS=--tun ${lib.escapeShellArg cfg.interfaceName}"''