From a001d5a4f5fad7a74ca2926bbfcfeac0ec144217 Mon Sep 17 00:00:00 2001
From: tdback <tyler@tdback.net>
Date: Fri, 21 Mar 2025 22:17:56 -0400
Subject: fediverse: add default user landing page

---
 modules/services/fediverse/default.nix | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'modules/services/fediverse')

diff --git a/modules/services/fediverse/default.nix b/modules/services/fediverse/default.nix
index b6e4b23..3fb4e59 100644
--- a/modules/services/fediverse/default.nix
+++ b/modules/services/fediverse/default.nix
@@ -24,6 +24,10 @@ in
     url = mkOption {
       type = types.str;
     };
+    landingPageUser = mkOption {
+      default = "";
+      type = types.str;
+    };
   };
 
   config = mkIf cfg.enable {
@@ -54,6 +58,7 @@ in
         db-type = "sqlite";
         db-address = "/var/lib/gotosocial/database.sqlite";
         storage-local-base-path = "/var/lib/gotosocial/storage";
+        landing-page-user = cfg.landingPageUser;
       };
     };
   };
-- 
cgit v1.2.3