Merge pull request #301919 from uninsane/pr-mautrix-meta-typo

nixos/mautrix-meta: fix lax enable check
This commit is contained in:
Kevin Cox 2024-04-05 16:39:22 -04:00 committed by GitHub
commit eb8b2b0903
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -302,7 +302,7 @@ in {
};
config = lib.mkMerge [
(lib.mkIf (enabledInstances != []) {
(lib.mkIf (enabledInstances != {}) {
assertions = lib.mkMerge (lib.attrValues (lib.mapAttrs (name: cfg: [
{
assertion = cfg.settings.homeserver.domain != "" && cfg.settings.homeserver.address != "";