respect stateVersion in vaultwarden (#285)
This commit is contained in:
parent
eb791b3019
commit
8db61af6b3
2 changed files with 1 additions and 2 deletions
|
@ -13,7 +13,6 @@
|
||||||
- `shb.authelia.oidcClients.id` -> `shb.authelia.oidcClients.client_id`
|
- `shb.authelia.oidcClients.id` -> `shb.authelia.oidcClients.client_id`
|
||||||
- `shb.authelia.oidcClients.description` -> `shb.authelia.oidcClients.client_name`
|
- `shb.authelia.oidcClients.description` -> `shb.authelia.oidcClients.client_name`
|
||||||
- `shb.authelia.oidcClients.secret` -> `shb.authelia.oidcClients.client_secret`
|
- `shb.authelia.oidcClients.secret` -> `shb.authelia.oidcClients.client_secret`
|
||||||
- Vaultwarden data folder changed to `/var/lib/vaultwarden`.
|
|
||||||
|
|
||||||
## User Facing Backwards Compatible Changes
|
## User Facing Backwards Compatible Changes
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ let
|
||||||
|
|
||||||
fqdn = "${cfg.subdomain}.${cfg.domain}";
|
fqdn = "${cfg.subdomain}.${cfg.domain}";
|
||||||
|
|
||||||
dataFolder = "/var/lib/vaultwarden";
|
dataFolder = if lib.versionOlder (config.system.stateVersion or "24.11") "24.11" then "/var/lib/bitwarden_rs" else "/var/lib/vaultwarden";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.shb.vaultwarden = {
|
options.shb.vaultwarden = {
|
||||||
|
|
Loading…
Reference in a new issue