summaryrefslogtreecommitdiff
path: root/nix/modules/gotosocial.nix
diff options
context:
space:
mode:
authorPreston Pan <ret2pop@nullring.xyz>2026-02-16 23:13:47 -0800
committerPreston Pan <ret2pop@nullring.xyz>2026-02-16 23:13:47 -0800
commit06198567765055febc8829f9f2ca398dd6817d93 (patch)
tree8553f885ae27fc7f64dc3655802dc3c129416f99 /nix/modules/gotosocial.nix
parentefe21725f8d68a6be6fb3c4697c88666d11b13a8 (diff)
finish up most of the sysadmin work
Diffstat (limited to 'nix/modules/gotosocial.nix')
-rw-r--r--nix/modules/gotosocial.nix14
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;
+ };
+ };
+}