diff options
Diffstat (limited to 'machines')
-rw-r--r-- | machines/profpatsch/haku.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/machines/profpatsch/haku.nix b/machines/profpatsch/haku.nix index 5e2f1d2a..901beb44 100644 --- a/machines/profpatsch/haku.nix +++ b/machines/profpatsch/haku.nix @@ -60,8 +60,8 @@ in in { description = "internally served public files (see nginx)"; wantedBy = [ "default.target" ]; - environment = { PORT = toString warpspeedPort; }; - script = "${pkgs.vuizvui.profpatsch.warpspeed}/bin/warpspeed ${user.home}/public"; + serviceConfig.WorkingDirectory = "${user.home}/public"; + script = "${pkgs.vuizvui.profpatsch.warpspeed}/bin/warpspeed ${toString warpspeedPort}"; serviceConfig.User = config.users.users.rtorrent.name; }; |