From 5812512ee649aba801ffdeeae9a5c35bff0e17f0 Mon Sep 17 00:00:00 2001 From: niten Date: Sun, 28 Jan 2024 15:43:58 -0800 Subject: [PATCH] Change wording so it's clearer --- mastodon-container.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/mastodon-container.nix b/mastodon-container.nix index fbea72d..9b6690b 100644 --- a/mastodon-container.nix +++ b/mastodon-container.nix @@ -44,8 +44,11 @@ in { default = 4; }; - close-registrations = - mkEnableOption "Disable the creation of new accounts."; + allow-registrations = mkOption { + type = bool; + description = "Enable the creation of new accounts."; + default = true; + }; smtp = { host = mkOption { @@ -128,7 +131,7 @@ in { configureNginx = true; automaticMigrations = true; streamingProcesses = cfg.streaming-processes; - extraConfig.registrations_open = !cfg.close-registrations; + extraConfig.registrations_open = !cfg.allow-registrations; }; nginx = { recommendedTlsSettings = true;