diff options
author | Christine Dodrill <me@christine.website> | 2021-06-06 14:17:03 +0000 |
---|---|---|
committer | Christine Dodrill <me@christine.website> | 2021-06-06 14:17:03 +0000 |
commit | 2b220cc57b198ae353afaf2b1859533c60e50bc0 (patch) | |
tree | 987f173ed8160269b292a2865fb3731e8a0e5051 /nixos/modules | |
parent | 690496c4e545e68482b5c162a03f0a4f97d35373 (diff) |
nixos/tailscale: add procps to $PATH
Currently tailscaled expects `sysctl` (from package procps) to be present in the path when running on Linux. It can function without the `sysctl` command present but it prints an error about it. This fixes that error. Warning: couldn't check net.ipv4.ip_forward (exec: "sysctl": executable file not found in $PATH). Signed-off-by: Christine Dodrill <me@christine.website>
Diffstat (limited to 'nixos/modules')
-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 9a28a266a9289..d1b23b72a257d 100644 --- a/nixos/modules/services/networking/tailscale.nix +++ b/nixos/modules/services/networking/tailscale.nix @@ -28,7 +28,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}"; }; }; |