nixos/nextcloud: drop obsolete assertion

main
Maximilian Bosch 3 years ago
parent e1e15974f8
commit 04fdff2517
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E
  1. 8
      nixos/modules/services/web-apps/nextcloud.nix

@ -507,13 +507,7 @@ in {
};
config = mkIf cfg.enable (mkMerge [
{ assertions = let acfg = cfg.config; in [
{ assertion = versionOlder cfg.package.version "21" -> cfg.config.defaultPhoneRegion == null;
message = "The `defaultPhoneRegion'-setting is only supported for Nextcloud >=21!";
}
];
warnings = let
{ warnings = let
latest = 22;
upgradeWarning = major: nixos:
''

Loading…
Cancel
Save