summaryrefslogtreecommitdiff
path: root/nix/modules/gotosocial.nix
diff options
context:
space:
mode:
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;
+ };
+ };
+}