In Authelia, set remember me to true by default (probably)

I haven't tested it, because we have no test infrastructure. Deploy at
your own risk
This commit is contained in:
Rasmus Rendal 2025-02-07 09:09:03 +01:00
parent 82caf96d36
commit 961be8c040
2 changed files with 17 additions and 1 deletions

View file

@ -1,4 +1,4 @@
{ config, ... }:
{ pkgs, config, ... }:
let
svc_domain = "auth.${config.mine.shared.settings.domain}";
@ -10,6 +10,9 @@ let
in {
services.authelia.instances.main = {
enable = true;
package = pkgs.authelia.overrideAttrs {
patches = [ ./remember_me_by_default.patch ];
};
environmentVariables.AUTHELIA_AUTHENTICATION_BACKEND_LDAP_PASSWORD_FILE = config.age.secrets.lldap-bind-user-pass.path;
environmentVariables.AUTHELIA_NOTIFIER_SMTP_PASSWORD_FILE = config.age.secrets.authelia-smtp-password.path;