Change wording so it's clearer

This commit is contained in:
niten 2024-01-28 15:43:58 -08:00
parent 4e39a8b260
commit 5812512ee6
1 changed files with 6 additions and 3 deletions

View File

@ -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;