Change it to a string, not a bool...

This commit is contained in:
niten 2024-01-28 15:50:55 -08:00
parent 5812512ee6
commit fabc328e42
1 changed files with 2 additions and 1 deletions

View File

@ -131,7 +131,8 @@ in {
configureNginx = true;
automaticMigrations = true;
streamingProcesses = cfg.streaming-processes;
extraConfig.registrations_open = !cfg.allow-registrations;
extraConfig.registrations_open =
if cfg.allow_registrations then "true" else "false";
};
nginx = {
recommendedTlsSettings = true;