nixos/vaultwarden: fix eval
This commit is contained in:
parent
3733d4b091
commit
2cd35e2b45
@ -168,7 +168,7 @@ in {
|
||||
message = "Backups for database backends other than sqlite will need customization";
|
||||
}
|
||||
{
|
||||
assertion = !(lib.hasPrefix dataDir cfg.backupDir);
|
||||
assertion = cfg.backupDir != null -> !(lib.hasPrefix dataDir cfg.backupDir);
|
||||
message = "Backup directory can not be in ${dataDir}";
|
||||
}
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user