selfprivacy-nixos-config/sp-modules/nextcloud/flake.nix
2024-10-24 22:08:21 +03:00

22 lines
546 B
Nix

{
description = "PoC SP module for nextcloud";
inputs.nixpkgs-old.url = "nixpkgs/nixos-23.11";
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);
};
}