selfprivacy-nixos-config/sp-modules/nextcloud/flake.nix

22 lines
546 B
Nix
Raw Normal View History

2023-11-15 18:26:04 +00:00
{
description = "PoC SP module for nextcloud";
2024-10-24 19:04:33 +00:00
inputs.nixpkgs-old.url = "nixpkgs/nixos-23.11";
2024-10-24 19:08:21 +00:00
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);
};
2023-11-15 18:26:04 +00:00
}