feat(modules): add nginx-authelia

This commit is contained in:
Felix Schröter 2025-06-06 16:41:08 +02:00
parent 1ef2364f31
commit 318eb4a682
Signed by: felschr
GPG key ID: 671E39E6744C807D
3 changed files with 152 additions and 0 deletions
services

View file

@ -63,6 +63,8 @@ let
smtpAccount = config.programs.msmtp.accounts.default;
in
{
imports = [ ../modules/nginx-authelia.nix ];
age.secrets.authelia-jwt = {
file = ../secrets/authelia/jwt.age;
owner = cfg.user;
@ -208,6 +210,10 @@ in
"lldap.service"
];
services.nginx-authelia = {
inherit port;
};
services.postgresql = {
enable = true;
ensureDatabases = [ cfg.user ];