fix(forgejo): Use allowlist instead of whitelist

Also fix the filter
This commit is contained in:
Tom Hubrecht 2023-09-18 10:48:54 +02:00
parent ac373ba380
commit 7395f240ee

View file

@ -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 ];