We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32337cf commit 1aeffaaCopy full SHA for 1aeffaa
flake.nix
@@ -100,6 +100,11 @@
100
default = 0.5;
101
description = "How much route shrinkage is allowed between subsequent runs (between 0 and 1)";
102
};
103
+ socketPath = mkOption {
104
+ type = types.path;
105
+ default = "/var/run/tailscale/tailscaled.sock";
106
+ description = "Path to the tailscaled socket";
107
+ };
108
109
config = mkIf cfg.enable {
110
systemd.services.tailscale-manager = {
@@ -112,6 +117,7 @@
112
117
ExecStart = lib.escapeShellArgs (
113
118
[ "${cfg.package}/bin/tailscale-manager" configFile
114
119
"--tailscale=${config.services.tailscale.package}/bin/tailscale"
120
+ "--socket=${cfg.socketPath}"
115
121
"--interval=${toString cfg.interval}"
116
122
"--max-shrink-ratio=${toString cfg.maxShrinkRatio}"
123
] ++ lib.optional cfg.dryRun "--dryrun"
0 commit comments