Home

tsnet-serve-nix @main - refs - log -
-
https://git.jolheiser.com/tsnet-serve-nix.git
tsnet-serve flake, package, and module
tree log patch
fix: set working directory Signed-off-by: jolheiser <git@jolheiser.com>
Signature
-----BEGIN SSH SIGNATURE----- U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgBTEvCQk6VqUAdN2RuH6bj1dNkY oOpbPWj+jw4ua1B1cAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5 AAAAQItF3ePd6KXkoDKkc3ycQwnPPUY9xAxpNknIio/H5sEFB7xJeo1nVLfWh2gMOD5qd9 yHEuhvI1dopHCsA2alAgU= -----END SSH SIGNATURE-----
jolheiser <git@jolheiser.com>
4 months ago
1 changed files, 1 additions(+), 0 deletions(-)
M module/default.nix -> module/default.nix
diff --git a/module/default.nix b/module/default.nix
index 735dc3053c5d90eeef45295ec6468cabdb30228a..9a08427bdae1a0dfca036ae9ccfd34a1c8b9ce2a 100644
--- a/module/default.nix
+++ b/module/default.nix
@@ -85,6 +85,7 @@             in "${pkg}/bin/tsnet-serve ${lib.concatStringsSep " " args}";
             User = instanceCfg.user;
             Restart = "on-failure";
             Environment = ["TS_AUTHKEY=${instanceCfg.authKey}"];
+            WorkingDirectory = instanceCfg.stateDir;
           };
         }
     ) (lib.filterAttrs (name: instanceCfg: instanceCfg.enable) cfg.instances);