mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config.git
synced 2024-11-12 19:34:24 +00:00
a98dafc98c
Previously, second mkIf for cleanup case took precedence when merge with `//`. Now it's 2 modules: one for selfprivacy.modules.nextcloud.enable == true, another for selfprivacy.modules.nextcloud.enable == false.
11 lines
267 B
Nix
11 lines
267 B
Nix
{
|
|
description = "PoC SP module for nextcloud";
|
|
|
|
outputs = { self }: {
|
|
nixosModules.default = _:
|
|
{ imports = [ ./module.nix ./cleanup-module.nix ]; };
|
|
configPathsNeeded =
|
|
builtins.fromJSON (builtins.readFile ./config-paths-needed.json);
|
|
};
|
|
}
|