Change wording so it's clearer
This commit is contained in:
parent
4e39a8b260
commit
5812512ee6
|
@ -44,8 +44,11 @@ in {
|
||||||
default = 4;
|
default = 4;
|
||||||
};
|
};
|
||||||
|
|
||||||
close-registrations =
|
allow-registrations = mkOption {
|
||||||
mkEnableOption "Disable the creation of new accounts.";
|
type = bool;
|
||||||
|
description = "Enable the creation of new accounts.";
|
||||||
|
default = true;
|
||||||
|
};
|
||||||
|
|
||||||
smtp = {
|
smtp = {
|
||||||
host = mkOption {
|
host = mkOption {
|
||||||
|
@ -128,7 +131,7 @@ in {
|
||||||
configureNginx = true;
|
configureNginx = true;
|
||||||
automaticMigrations = true;
|
automaticMigrations = true;
|
||||||
streamingProcesses = cfg.streaming-processes;
|
streamingProcesses = cfg.streaming-processes;
|
||||||
extraConfig.registrations_open = !cfg.close-registrations;
|
extraConfig.registrations_open = !cfg.allow-registrations;
|
||||||
};
|
};
|
||||||
nginx = {
|
nginx = {
|
||||||
recommendedTlsSettings = true;
|
recommendedTlsSettings = true;
|
||||||
|
|
Loading…
Reference in New Issue