WIP: Authentik
This commit is contained in:
parent
79bfb5e7e3
commit
a1bc147b90
9 changed files with 440 additions and 17 deletions
38
hosts/authentik/default.nix
Normal file
38
hosts/authentik/default.nix
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
imports,
|
||||
...
|
||||
}:
|
||||
{
|
||||
|
||||
age.secrets.authentik-env.file = ../../secrets/authentik-env.age;
|
||||
|
||||
my = {
|
||||
utils = {
|
||||
commons.enable = true;
|
||||
lxc-standard.enable = true;
|
||||
};
|
||||
|
||||
services.authentik = {
|
||||
enable = true;
|
||||
envFile = config.age.secrets.authentik-env.path;
|
||||
email = {
|
||||
host = "smtp.eu.mailgun.org";
|
||||
port = 587;
|
||||
username = "Auth Pazpi.top";
|
||||
use_tls = true;
|
||||
use_ssl = false;
|
||||
from = "auth@pazpi.top";
|
||||
};
|
||||
proxy.domain = "tegola.pro";
|
||||
};
|
||||
virtualisation.proxmox.enable = true;
|
||||
};
|
||||
|
||||
# Extra packages
|
||||
environment.systemPackages = with pkgs; [ ];
|
||||
|
||||
system.stateVersion = "24.11";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue