diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2023-12-09 14:00:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-09 14:00:59 +0100 |
commit | 2ee3ddef8c86d1534784372eb34177faa5f2d69c (patch) | |
tree | cf865c7c180c3193939840c7117dc2101ee169ce | |
parent | b69fbe2670ed580bfd4f69177dc3ce0c35a32c1f (diff) | |
parent | 71dd9c3d538195abdcdaf6b1afdcf72193dcaf0a (diff) |
Merge pull request #266935 from s-sinnlos/nextcloud26-ocm-dir-fix
nixos/nextcloud: missing ocm-dir applys also from 26.0.8 onward
-rw-r--r-- | nixos/modules/services/web-apps/nextcloud.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nixos/modules/services/web-apps/nextcloud.nix b/nixos/modules/services/web-apps/nextcloud.nix index 6c50ea3c81ef7..f521fa7d5d5db 100644 --- a/nixos/modules/services/web-apps/nextcloud.nix +++ b/nixos/modules/services/web-apps/nextcloud.nix @@ -61,7 +61,9 @@ let pgsqlLocal = cfg.database.createLocally && cfg.config.dbtype == "pgsql"; # https://github.com/nextcloud/documentation/pull/11179 - ocmProviderIsNotAStaticDirAnymore = versionAtLeast cfg.package.version "27.1.2"; + ocmProviderIsNotAStaticDirAnymore = versionAtLeast cfg.package.version "27.1.2" + || (versionOlder cfg.package.version "27.0.0" + && versionAtLeast cfg.package.version "26.0.8"); in { |