Unverified Commit 530c6f09 authored by provokateurin's avatar provokateurin
Browse files

nixos/nextcloud: Disable web updater by default

Disables the "Open updater" button in the admin overview and makes sure it is not possible to update the instance through the web interface.
Nextcloud runs from the source code in the nix store and should not try to update itself manually.
The only way to update Nextcloud is to update nixpkgs and therefore the web updater must be disabled.
parent a6e4ff30
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1376,6 +1376,7 @@ in
          ({
            datadirectory = lib.mkDefault "${datadir}/data";
            trusted_domains = [ cfg.hostName ];
            "upgrade.disable-web" = true;
          })
          (lib.mkIf cfg.configureRedis {
            "memcache.distributed" = ''\OC\Memcache\Redis'';