feat(modules): add nginx-authelia
This commit is contained in:
parent
1ef2364f31
commit
318eb4a682
3 changed files with 152 additions and 0 deletions
services
|
@ -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 ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue