From 2b220cc57b198ae353afaf2b1859533c60e50bc0 Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Sun, 6 Jun 2021 14:17:03 +0000 Subject: [PATCH] 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 --- nixos/modules/services/networking/tailscale.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/networking/tailscale.nix b/nixos/modules/services/networking/tailscale.nix index 9a28a266a928..d1b23b72a257 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}"; }; };