diff options
| author | Preston Pan <ret2pop@nullring.xyz> | 2026-02-16 23:13:47 -0800 |
|---|---|---|
| committer | Preston Pan <ret2pop@nullring.xyz> | 2026-02-16 23:13:47 -0800 |
| commit | 06198567765055febc8829f9f2ca398dd6817d93 (patch) | |
| tree | 8553f885ae27fc7f64dc3655802dc3c129416f99 /nix/modules/gotosocial.nix | |
| parent | efe21725f8d68a6be6fb3c4697c88666d11b13a8 (diff) | |
finish up most of the sysadmin work
Diffstat (limited to 'nix/modules/gotosocial.nix')
| -rw-r--r-- | nix/modules/gotosocial.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/nix/modules/gotosocial.nix b/nix/modules/gotosocial.nix new file mode 100644 index 0000000..6b81128 --- /dev/null +++ b/nix/modules/gotosocial.nix @@ -0,0 +1,14 @@ +{ lib, config, ... }: +{ + services.gotosocial = { + enable = lib.mkDefault config.monorepo.profiles.server.enable; + setupPostgresqlDB = true; + settings = { + application-name = "Nullring GoToSocial Instance"; + host = "gotosocial.${config.monorepo.vars.orgHost}"; + protocol = "https"; + bind-address = "127.0.0.1"; + port = 8080; + }; + }; +} |
