summary refs log tree commit diff
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-09-07 04:31:19 +0200
committerTheArcaneBrony <myrainbowdash949@gmail.com>2023-09-07 04:31:19 +0200
commit42262de855379f7e92c41bd1d0809a4815727829 (patch)
treed35c805000f3c3d689962ab4ee296416d134c58b
parentFixes? (diff)
downloadRory-Open-Architecture-42262de855379f7e92c41bd1d0809a4815727829.tar.xz
Fixes?
-rwxr-xr-xhost/Rory-nginx/services/containers/pluralcontactbotpoc/services/conduit.nix14
-rwxr-xr-xhost/Rory-nginx/services/containers/pluralcontactbotpoc/services/nginx.nix4
2 files changed, 0 insertions, 18 deletions
diff --git a/host/Rory-nginx/services/containers/pluralcontactbotpoc/services/conduit.nix b/host/Rory-nginx/services/containers/pluralcontactbotpoc/services/conduit.nix
index f2fdad6..aa64814 100755
--- a/host/Rory-nginx/services/containers/pluralcontactbotpoc/services/conduit.nix
+++ b/host/Rory-nginx/services/containers/pluralcontactbotpoc/services/conduit.nix
@@ -14,20 +14,6 @@
       allow_registration = false;
     };
   };
-  systemd.services.matrix-conduit-reg-token = {
-      description = "Random registration token for Conduit.";
-      before = ["conduit.service"]; # So the registration can be used by Conduit.
-      after = ["matrix-synapse-reg-token.service"];
-
-      script = ''
-        mkdir -p /run/systemd/system/conduit.service.d
-        echo Environment=\"CONDUIT_REGISTRATION_TOKEN=$(cat /var/lib/matrix-synapse/registration_shared_secret.txt)\" > /run/systemd/system/conduit.service.d/override.conf
-        systemctl daemon-reload'';
-      serviceConfig = {
-        User = "root";
-        Group = "root";
-      };
-    };
   system.stateVersion = "22.11"; # DO NOT EDIT!
 }
 
diff --git a/host/Rory-nginx/services/containers/pluralcontactbotpoc/services/nginx.nix b/host/Rory-nginx/services/containers/pluralcontactbotpoc/services/nginx.nix
index feaa3ed..de8151c 100755
--- a/host/Rory-nginx/services/containers/pluralcontactbotpoc/services/nginx.nix
+++ b/host/Rory-nginx/services/containers/pluralcontactbotpoc/services/nginx.nix
@@ -97,9 +97,5 @@
   security.acme.acceptTerms = true;
   security.acme.defaults.email = "root@rory.gay";
 
-  environment.systemPackages = with pkgs; [
-    #gitfs
-  ];
-
   system.stateVersion = "22.11"; # DO NOT EDIT!
 }