fix(invidious): database setup

This commit is contained in:
arcnmx 2024-02-18 19:49:55 -08:00
parent aa59293596
commit 4bcd6661c9
4 changed files with 15 additions and 6 deletions

View file

@ -74,4 +74,7 @@ in {
mkIf user.authentication.enable user.authentication.authentication
) cfg.ensureUsers);
};
config.networking.firewall.interfaces.local = mkIf cfg.enable {
allowedTCPPorts = mkIf (any (user: user.authentication.local.allow) cfg.ensureUsers) [ cfg.port ];
};
}