From 7395f240eeee6975ad9b2c6af3b59a98aee5ebcf Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Mon, 18 Sep 2023 10:48:54 +0200 Subject: [PATCH] fix(forgejo): Use allowlist instead of whitelist Also fix the filter --- machines/storage01/forgejo.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/machines/storage01/forgejo.nix b/machines/storage01/forgejo.nix index 718b36c..ae1750d 100644 --- a/machines/storage01/forgejo.nix +++ b/machines/storage01/forgejo.nix @@ -32,7 +32,7 @@ in { }; service = { - EMAIL_DOMAIN_WHITELIST = "dgnum.eu"; + EMAIL_DOMAIN_ALLOWLIST = "dgnum.eu"; DISABLE_REGISTRATION = false; }; @@ -89,7 +89,7 @@ in { dgn-secrets.options = [ (setDefault { owner = "git"; } - (builtins.filter (lib.hasPrefix "forgejo") config.dgn-secrets.names)) + (builtins.filter (lib.hasPrefix "forgejo-") config.dgn-secrets.names)) ]; networking.firewall.allowedTCPPorts = [ 80 443 ];