mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-07 21:43:32 +00:00
nixos/matomo: Fix typo in assertion message (#365931)
This typo is confusing because it seems like the assertion requires nginx to be non-null (old text: "either nginx or nginx.webServerUser is mandatory").
This commit is contained in:
parent
569e4dc9b9
commit
275baaeee3
@ -119,7 +119,7 @@ in {
|
||||
|
||||
assertions = [ {
|
||||
assertion = cfg.nginx != null || cfg.webServerUser != null;
|
||||
message = "Either services.matomo.nginx or services.matomo.nginx.webServerUser is mandatory";
|
||||
message = "Either services.matomo.nginx or services.matomo.webServerUser is mandatory";
|
||||
}];
|
||||
|
||||
users.users.${user} = {
|
||||
|
Loading…
Reference in New Issue
Block a user