nixos/dokuwiki: add assertion for usersFile
This commit is contained in:
parent
af6a7a0486
commit
0228046eec
@ -278,6 +278,10 @@ in
|
||||
{
|
||||
assertion = cfg.usersFile != null -> cfg.aclUse != false;
|
||||
message = "services.dokuwiki.${hostName}.aclUse must be true when usersFile is not null";
|
||||
}
|
||||
{
|
||||
assertion = cfg.aclUse -> cfg.usersFile != null;
|
||||
message = "services.dokuwiki.${hostName}.usersFile must be set if aclUse is true";
|
||||
}]) eachSite);
|
||||
|
||||
services.phpfpm.pools = mapAttrs' (hostName: cfg: (
|
||||
|
Loading…
Reference in New Issue
Block a user