summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xhost/Rory-nginx/services/matrix/matrix-media-gate.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/Rory-nginx/services/matrix/matrix-media-gate.nix b/host/Rory-nginx/services/matrix/matrix-media-gate.nix
index a81d7a4..c354d1e 100755
--- a/host/Rory-nginx/services/matrix/matrix-media-gate.nix
+++ b/host/Rory-nginx/services/matrix/matrix-media-gate.nix
@@ -5,7 +5,7 @@
     "MatrixMediaGate-matrix-rory-gay" = {
       wantedBy = [ "multi-user.target" ];
       serviceConfig = {
-        ExecStart = "${MatrixMediaGate}/bin/MatrixMediaGate";
+        ExecStart = "${MatrixMediaGate.packages.x86_64-linux.default}/bin/MatrixMediaGate";
         ExecStartPre = "${pkgs.busybox}/bin/cp ${./appsettings.matrix-rory-gay.json} ./appsettings.matrix-rory-gay.json";
         Restart = "always";
         RestartSec = "5";
@@ -21,7 +21,7 @@
     "MatrixMediaGate-conduit-rory-gay" = {
       wantedBy = [ "multi-user.target" ];
       serviceConfig = {
-        ExecStart = "${MatrixMediaGate}/bin/MatrixMediaGate";
+        ExecStart = "${MatrixMediaGate.packages.x86_64-linux.default}/bin/MatrixMediaGate";
         ExecStartPre = "${pkgs.busybox}/bin/cp ${./appsettings.conduit-rory-gay.json} ./appsettings.conduit-rory-gay.json";
         Restart = "always";
         RestartSec = "5";