feat(amy): add gotosocial for sandbox.isnt-a.top
This commit is contained in:
parent
2a83f54dcc
commit
049db6fcf8
4 changed files with 25 additions and 0 deletions
|
@ -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
23
roles/gts-sandbox.nix
Normal 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
BIN
secrets/gts-sandbox.age
Normal file
Binary file not shown.
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue