mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 04:31:52 +00:00
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 a new issue