about summary refs log tree commit diff
path: root/systems/cobalt/default.nix
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2024-02-19 20:26:18 +0900
committersefidel <contact@sefidel.net>2024-02-19 20:26:18 +0900
commit8e119c73d272e31b548f9bc047e88082a93eac07 (patch)
treeb9e5e2703c33dad8aa944540f1ee5ba3848f9bb6 /systems/cobalt/default.nix
parentb87d8f473020d1495bbaf42976d96c5c589c88ff (diff)
downloadinfra-8e119c73d272e31b548f9bc047e88082a93eac07.tar.gz
infra-8e119c73d272e31b548f9bc047e88082a93eac07.zip
feat(systems/cobalt): configure OAuth for akkoma
Diffstat (limited to 'systems/cobalt/default.nix')
-rw-r--r--systems/cobalt/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/systems/cobalt/default.nix b/systems/cobalt/default.nix
index a877064..036e459 100644
--- a/systems/cobalt/default.nix
+++ b/systems/cobalt/default.nix
@@ -156,6 +156,7 @@ in
   # };
   sops.secrets.searx-env = { };
   sops.secrets.freshrss-admin-pass = { owner = "freshrss"; };
+  sops.secrets.akkoma-envs = { };
 
 
   services.openssh.knownHosts."hk-s020.rsync.net".publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILcPl9x9JfRFwsn09NnDw/xBZbAN80ZQck+h6AqlVqPH";
@@ -323,6 +324,9 @@ in
       domain = "exotic.sh";
       realHost = "social.exotic.sh";
       instanceName = "exotic.sh social";
+
+      oauthBaseUrl = "https://auth.exotic.sh";
+      secrets.akkoma-envs = config.sops.secrets.akkoma-envs.path;
     };
     services.soju = {
       enable = true;