summary refs log tree commit diff
path: root/host/Rory-nginx/services/matrix/matrix-media-gate.nix
diff options
context:
space:
mode:
Diffstat (limited to 'host/Rory-nginx/services/matrix/matrix-media-gate.nix')
-rwxr-xr-xhost/Rory-nginx/services/matrix/matrix-media-gate.nix46
1 files changed, 0 insertions, 46 deletions
diff --git a/host/Rory-nginx/services/matrix/matrix-media-gate.nix b/host/Rory-nginx/services/matrix/matrix-media-gate.nix
deleted file mode 100755
index 7eb599c..0000000
--- a/host/Rory-nginx/services/matrix/matrix-media-gate.nix
+++ /dev/null
@@ -1,46 +0,0 @@
-{
-  config,
-  pkgs,
-  lib,
-  MatrixMediaGate,
-  ...
-}:
-
-{
-  systemd.services = {
-    "MatrixMediaGate-matrix-rory-gay" = {
-      wantedBy = [ "multi-user.target" ];
-      serviceConfig = {
-        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";
-        Type = "notify";
-        DynamicUser = true;
-        StateDirectory = "matrix-media-gate";
-        WorkingDirectory = "/var/lib/matrix-media-gate";
-      };
-      environment = {
-        "DOTNET_ENVIRONMENT" = "matrix-rory-gay";
-        "DOTNET_URLS" = "http://localhost:9001";
-      };
-    };
-    "MatrixMediaGate-conduit-rory-gay" = {
-      wantedBy = [ "multi-user.target" ];
-      serviceConfig = {
-        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";
-        Type = "notify";
-        DynamicUser = true;
-        StateDirectory = "matrix-media-gate";
-        WorkingDirectory = "/var/lib/matrix-media-gate";
-      };
-      environment = {
-        "DOTNET_ENVIRONMENT" = "conduit-rory-gay";
-        "DOTNET_URLS" = "http://localhost:9002";
-      };
-    };
-  };
-}