feat(amy): add gotosocial for sandbox.isnt-a.top

This commit is contained in:
Ashhhleyyy 2024-08-24 18:25:22 +01:00
parent 2a83f54dcc
commit 049db6fcf8
Signed by: ash
GPG key ID: 83B789081A0878FB
4 changed files with 25 additions and 0 deletions

View file

@ -183,6 +183,7 @@
./hosts/amy/configuration.nix ./hosts/amy/configuration.nix
./roles/conduit.nix ./roles/conduit.nix
./roles/coredns ./roles/coredns
./roles/gts-sandbox.nix
./roles/iceshrimp.nix ./roles/iceshrimp.nix
./roles/keycloak.nix ./roles/keycloak.nix
./roles/mc-proxy.nix ./roles/mc-proxy.nix

23
roles/gts-sandbox.nix Normal file
View file

@ -0,0 +1,23 @@
{
config
, pkgs
, ...
}:
{
age.secrets.gts-sandbox.file = ../secrets/gts-sandbox.age;
services.gotosocial = {
enable = true;
setupPostgresqlDB = true;
settings = {
host = "sandbox.isnt-a.top";
port = 3001;
trusted-proxies = ["100.64.0.0/10"];
bind-address = "0.0.0.0";
accounts-registration-open = true;
accounts-reason-required = true;
};
#environmentFile = config.age.secrets.gts-sandbox.path;
};
}

BIN
secrets/gts-sandbox.age Normal file

Binary file not shown.

View file

@ -10,4 +10,5 @@ in
"keycloakPostgres.age".publicKeys = users ++ systems; "keycloakPostgres.age".publicKeys = users ++ systems;
"zulip-redis.age".publicKeys = users ++ systems; "zulip-redis.age".publicKeys = users ++ systems;
"zulip-env.age".publicKeys = users ++ systems; "zulip-env.age".publicKeys = users ++ systems;
"gts-sandbox.age".publicKeys = users ++ systems;
} }