anchor.diff:                'trusted_domains' => ${writePhpArrary ([ cfg.hostName ] ++ c.extraTrustedDomains)},
                 'trusted_proxies' => ${writePhpArrary (c.trustedProxies)},
                 ${optionalString (c.defaultPhoneRegion != null) "'default_phone_region' => '${c.defaultPhoneRegion}',"}
  +              ${optionalString (nextcloudGreaterOrEqualThan "23") "'profile.enabled' => ${boolToString cfg.globalProfiles}"}
                 ${objectstoreConfig}
               ];
             '';
  
positive.code:       internal = true;
        description = ''
          The nextcloud-occ program preconfigured to target this Nextcloud instance.
        '';
      };
  
  
negative.code:             in
                if x == null then "false"
                else boolToString x;
  
            nextcloudGreaterOrEqualThan = req: versionAtLeast cfg.package.version req;
  
            overrideConfig = pkgs.writeText "nextcloud-config.php" ''
              <?php
  