···101102- `services.thelounge.private` was removed in favor of `services.thelounge.public`, to follow with upstream changes.
10300104## Other Notable Changes {#sec-release-22.05-notable-changes}
105106- The option [services.redis.servers](#opt-services.redis.servers) was added
···101102- `services.thelounge.private` was removed in favor of `services.thelounge.public`, to follow with upstream changes.
103104+- `pkgs.docbookrx` was removed since it's unmaintained
105+106## Other Notable Changes {#sec-release-22.05-notable-changes}
107108- The option [services.redis.servers](#opt-services.redis.servers) was added
+10-5
nixos/modules/services/web-apps/wordpress.nix
···301 # implementation
302 config = mkIf (eachSite != {}) (mkMerge [{
303304- assertions = mapAttrsToList (hostName: cfg:
305- { assertion = cfg.database.createLocally -> cfg.database.user == user;
306- message = ''services.wordpress.sites."${hostName}".database.user must be ${user} if the database is to be automatically provisioned'';
307- }
308- ) eachSite;
00000309310 warnings = mapAttrsToList (hostName: _: ''services.wordpress."${hostName}" is deprecated use services.wordpress.sites."${hostName}"'') (oldSites cfg);
311
···301 # implementation
302 config = mkIf (eachSite != {}) (mkMerge [{
303304+ assertions =
305+ (mapAttrsToList (hostName: cfg:
306+ { assertion = cfg.database.createLocally -> cfg.database.user == user;
307+ message = ''services.wordpress.sites."${hostName}".database.user must be ${user} if the database is to be automatically provisioned'';
308+ }) eachSite) ++
309+ (mapAttrsToList (hostName: cfg:
310+ { assertion = cfg.database.createLocally -> cfg.database.passwordFile == null;
311+ message = ''services.wordpress.sites."${hostName}".database.passwordFile cannot be specified if services.wordpress.sites."${hostName}".database.createLocally is set to true.'';
312+ }) eachSite);
313+314315 warnings = mapAttrsToList (hostName: _: ''services.wordpress."${hostName}" is deprecated use services.wordpress.sites."${hostName}"'') (oldSites cfg);
316