mirror of
https://github.com/Superredstone/nixos.git
synced 2026-08-19 11:48:57 +02:00
feat(bomba): add authentik
This commit is contained in:
@@ -15,6 +15,8 @@
|
||||
465
|
||||
587
|
||||
993
|
||||
3389
|
||||
6636
|
||||
25565
|
||||
27015
|
||||
];
|
||||
@@ -22,6 +24,8 @@
|
||||
53
|
||||
80
|
||||
443
|
||||
3389
|
||||
6636
|
||||
34197
|
||||
];
|
||||
};
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
gitea_registration_token = default;
|
||||
navidrome_env = default;
|
||||
yamtrack_env = default;
|
||||
authentik_env = default;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
{ config, ... }:
|
||||
{
|
||||
services.authentik = {
|
||||
enable = true;
|
||||
environmentFile = config.sops.secrets.authentik_env.path;
|
||||
settings = {
|
||||
disable_startup_analytics = true;
|
||||
avatars = "initials";
|
||||
listen = {
|
||||
ldap = "0.0.0.0:3389";
|
||||
ldaps = "0.0.0.0:6636";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -87,6 +87,9 @@
|
||||
${basicAuth}
|
||||
reverse_proxy :${toString config.services.adguardhome.port}
|
||||
'';
|
||||
"auth.patrickcanal.it".extraConfig = ''
|
||||
reverse_proxy :9000
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
imports = [
|
||||
./actual.nix
|
||||
./adguard.nix
|
||||
./authentik.nix
|
||||
./caddy.nix
|
||||
./fail2ban.nix
|
||||
./gitea.nix
|
||||
|
||||
Reference in New Issue
Block a user