From 06198567765055febc8829f9f2ca398dd6817d93 Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Mon, 16 Feb 2026 23:13:47 -0800 Subject: finish up most of the sysadmin work --- nix/modules/gotosocial.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 nix/modules/gotosocial.nix (limited to 'nix/modules/gotosocial.nix') 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; + }; + }; +} -- cgit v1.3