diff --git a/hosts/nb-new.cloonar.com/configuration.nix b/hosts/nb-new.cloonar.com/configuration.nix index 362890f..e28374e 100644 --- a/hosts/nb-new.cloonar.com/configuration.nix +++ b/hosts/nb-new.cloonar.com/configuration.nix @@ -39,6 +39,8 @@ in { fonts.packages = with pkgs; [ open-sans + nix-prefetch + jq ]; swapDevices = [ { diff --git a/hosts/web-arm/modules/nextcloud/default.nix b/hosts/web-arm/modules/nextcloud/default.nix index 02fe354..a3f3b64 100644 --- a/hosts/web-arm/modules/nextcloud/default.nix +++ b/hosts/web-arm/modules/nextcloud/default.nix @@ -1,4 +1,12 @@ { pkgs, config, ... }: +let + nextcloud30 = pkgs.nextcloud30.overrideAttrs (oldAttrs: { + src = pkgs.fetchurl { + url = "https://download.nextcloud.com/server/releases/nextcloud-30.0.2.tar.bz2"; + sha256 = "sha256-kpu4BF6WIW/iKmXc1mJ55b17oauynZm/QB1CO2RqRF8="; + }; + }); +in { sops.secrets.nextcloud-adminpass.owner = "nextcloud"; sops.secrets.nextcloud-secrets.owner = "nextcloud"; @@ -8,7 +16,7 @@ enable = true; hostName = "nextcloud.cloonar.com"; https = true; - package = pkgs.nextcloud30; + package = nextcloud30; # Instead of using pkgs.nextcloud27Packages.apps, # we'll reference the package version specified above extraApps = {