mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +03:00
nixos/dokuwiki: add assertion for usersFile
This commit is contained in:
parent
af6a7a0486
commit
0228046eec
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue