nextcloud 27 downgrade

This commit is contained in:
Inex Code 2024-10-24 22:21:15 +03:00
parent 4bead8f066
commit f02b4d46c8
2 changed files with 2 additions and 11 deletions

View file

@ -1,19 +1,10 @@
{ {
description = "PoC SP module for nextcloud"; description = "PoC SP module for nextcloud";
inputs.nixpkgs-old.url = "nixpkgs/nixos-23.11"; outputs = { self }: {
outputs = { self, nixpkgs-old }:
let
oldPkgs = import nixpkgs-old {
system = "x86_64-linux"; # Same architecture as above
};
in
{
nixosModules.default = _: nixosModules.default = _:
{ {
imports = [ ./module.nix ./cleanup-module.nix ]; imports = [ ./module.nix ./cleanup-module.nix ];
services.nextcloud.package = oldPkgs.nextcloud26;
}; };
configPathsNeeded = configPathsNeeded =
builtins.fromJSON (builtins.readFile ./config-paths-needed.json); builtins.fromJSON (builtins.readFile ./config-paths-needed.json);

View file

@ -66,7 +66,7 @@
}; };
services.nextcloud = { services.nextcloud = {
enable = true; enable = true;
#package = oldPkgs.nextcloud26; package = pkgs.nextcloud27;
inherit hostName; inherit hostName;
# Use HTTPS for links # Use HTTPS for links