Add authelia.

This commit is contained in:
Lorenzo Good 2025-06-04 16:08:13 -05:00
parent 588fdbd9f2
commit 18611e2359
Signed by: lorenzo
GPG key ID: 7FCD64BD81180ED0
12 changed files with 261 additions and 19 deletions

View file

@ -17,6 +17,18 @@
envPath = config.sops.secrets.vaultwarden-env.path;
};
services.authelia = {
enable = true;
domain = "auth.foehammer.me";
jwtSecretFile = config.sops.secrets.authelia-jwtsecret.path;
userDbFile = config.sops.secrets.authelia-users.path;
# oidcIssuerPrivateKeyFile = config.sops.secrets.authelia-oidc-privkey.path;
# oidcHmacSecretFile = config.sops.secrets.authelia-oidc-hmac.path;
sessionSecretFile = config.sops.secrets.authelia-session-secret.path;
storageEncryptionKeyFile = config.sops.secrets.authelia-storage-encryption.path;
};
backups.restic = {
enable = true;
@ -24,7 +36,7 @@
environmentFile = config.sops.secrets.restic-env.path;
passwordFile = config.sops.secrets.restic-password.path;
paths = ["/var/lib/vaultwarden"];
paths = ["/var/lib/vaultwarden" "/var/lib/authelia"];
};
tailscale = {