about summary refs log tree commit diff
path: root/machines/profpatsch/haku.nix
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2017-07-08 19:55:28 +0200
committerProfpatsch <mail@profpatsch.de>2017-07-08 20:33:05 +0200
commit40ffce35bc9f84b17964ce39d63163f545e3fd74 (patch)
tree9f39c14bd349ec08a1a65e0ed6d55fd1520dcaf5 /machines/profpatsch/haku.nix
parent778a3c7f98d54e0bc19cf8768a88bbc9e9a77647 (diff)
machines/haku: fix warpspeed service
Diffstat (limited to 'machines/profpatsch/haku.nix')
-rw-r--r--machines/profpatsch/haku.nix4
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;
       };