diff --git a/sp-modules/nextcloud/flake.nix b/sp-modules/nextcloud/flake.nix index f7c330c..85e8f39 100644 --- a/sp-modules/nextcloud/flake.nix +++ b/sp-modules/nextcloud/flake.nix @@ -3,10 +3,19 @@ inputs.nixpkgs-old.url = "nixpkgs/nixos-23.11"; - outputs = { self, nixpkgs-old }: { - nixosModules.default = _: - { imports = [ ./module.nix ./cleanup-module.nix ]; }; - configPathsNeeded = - builtins.fromJSON (builtins.readFile ./config-paths-needed.json); - }; + outputs = { self, nixpkgs-old }: + let + oldPkgs = import nixpkgs-old { + system = "x86_64-linux"; # Same architecture as above + }; + in + { + nixosModules.default = _: + { + imports = [ ./module.nix ./cleanup-module.nix ]; + services.nextcloud.package = oldPkgs.nextcloud26; + }; + configPathsNeeded = + builtins.fromJSON (builtins.readFile ./config-paths-needed.json); + }; } diff --git a/sp-modules/nextcloud/module.nix b/sp-modules/nextcloud/module.nix index 1f1bdec..18ecece 100644 --- a/sp-modules/nextcloud/module.nix +++ b/sp-modules/nextcloud/module.nix @@ -1,9 +1,4 @@ { config, lib, pkgs, ... }: -let - oldPkgs = import nixpkgs-old { - system = "x86_64-linux"; # Same architecture as above - }; -in { options.selfprivacy.modules.nextcloud = with lib; { enable = mkOption { @@ -71,7 +66,7 @@ in }; services.nextcloud = { enable = true; - package = oldPkgs.nextcloud26; + #package = oldPkgs.nextcloud26; inherit hostName; # Use HTTPS for links