From dc75ef66005e4b5e69293b633c96e61da5977174 Mon Sep 17 00:00:00 2001 From: Thary Date: Fri, 7 Nov 2025 17:21:15 +0300 Subject: [PATCH] Aaddfwef --- module.nix | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/module.nix b/module.nix index c69fe23..2251f31 100644 --- a/module.nix +++ b/module.nix @@ -51,6 +51,18 @@ in weight = 0; }; }; + appName = + (lib.mkOption { + default = "WriteFreely"; + type = lib.types.str; + description = "Name of the WriteFreely instance."; + }) + // { + meta = { + type = "str"; + weight = 1; + }; + }; enableFederation = (lib.mkOption { default = false; @@ -60,18 +72,6 @@ in // { meta = { type = "bool"; - weight = 1; - }; - }; - title = - (lib.mkOption { - default = "WriteFreely"; - type = lib.types.str; - description = "Name of the WriteFreely instance."; - }) - // { - meta = { - type = "str"; weight = 2; }; }; @@ -99,7 +99,7 @@ in settings = { server.port = 8081; app = { - site_name = cfg.title; + site_name = cfg.appName; single_user = false; federation = cfg.enableFederation; disable_password_auth = true;