mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config.git
synced 2024-11-29 22:11:27 +00:00
22 lines
546 B
Nix
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);
|
|
};
|
|
}
|