From fabc328e42999758051be9c6cd12eb6a49223b55 Mon Sep 17 00:00:00 2001 From: niten Date: Sun, 28 Jan 2024 15:50:55 -0800 Subject: [PATCH] Change it to a string, not a bool... --- mastodon-container.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;