fix(forgejo): Use allowlist instead of whitelist
Also fix the filter
This commit is contained in:
parent
ac373ba380
commit
7395f240ee
1 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
service = {
|
service = {
|
||||||
EMAIL_DOMAIN_WHITELIST = "dgnum.eu";
|
EMAIL_DOMAIN_ALLOWLIST = "dgnum.eu";
|
||||||
|
|
||||||
DISABLE_REGISTRATION = false;
|
DISABLE_REGISTRATION = false;
|
||||||
};
|
};
|
||||||
|
@ -89,7 +89,7 @@ in {
|
||||||
|
|
||||||
dgn-secrets.options = [
|
dgn-secrets.options = [
|
||||||
(setDefault { owner = "git"; }
|
(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 ];
|
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||||
|
|
Loading…
Reference in a new issue