diff --git a/mastodon-container.nix b/mastodon-container.nix index 9b6690b..21666f5 100644 --- a/mastodon-container.nix +++ b/mastodon-container.nix @@ -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;