change to keycloak 24

This commit is contained in:
Jean-Marie 'Histausse' Mineau 2025-03-16 00:45:02 +01:00
parent 396e3c81a7
commit ee82720db0
Signed by: histausse
GPG key ID: B66AEEDA9B645AD2
2 changed files with 1 additions and 3 deletions

View file

@ -23,7 +23,7 @@ in
description = "The name (id) of the openId client to use exclusively.";
};
dbPasswordFile = mkOption {
type = types.str;
type = types.path;
default = "/etc/forgejo_db_pwd";
description = "The file containing the database password. Be sure to secure it.";
};

View file

@ -31,8 +31,6 @@ in
http-host = "127.0.0.1";
http-port = 8080;
https-port = 8443;
proxy = "edge"; # TODO: change to reencrypt or passthrough
hostname-strict-backchannel = true;
};
services.keycloak.initialAdminPassword = cfg.initialAdminPassword;
services.keycloak.database.passwordFile = cfg.dbPasswordFile;