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:
Sam Grayson 2024-12-17 11:25:41 -05:00 committed by GitHub
parent 569e4dc9b9
commit 275baaeee3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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} = {