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

34 lines
1,006 B
Nix
Raw Permalink Normal View History

2023-11-15 18:26:04 +00:00
{
description = "PoC SP module for nextcloud";
outputs = { self }: {
nixosModules.default = _:
{ imports = [ ./module.nix ./cleanup-module.nix ]; };
2023-11-15 18:26:04 +00:00
configPathsNeeded =
builtins.fromJSON (builtins.readFile ./config-paths-needed.json);
2024-12-18 12:40:15 +00:00
meta = { lib, ... }: {
spModuleSchemaVersion = 1;
2024-12-18 12:40:15 +00:00
id = "nextcloud";
name = "Nextcloud";
description = "Nextcloud is a cloud storage service that offers a web interface and a desktop client.";
svgIcon = builtins.readFile ./icon.svg;
isMovable = true;
isRequired = false;
canBeBackedUp = true;
backupDescription = "All the files and other data stored in Nextcloud.";
systemdServices = [
"phpfpm-nextcloud.service"
];
folders = [
"/var/lib/nextcloud"
];
license = [
lib.licenses.agpl3Plus
];
homepage = "https://nextcloud.com/";
sourcePage = "https://github.com/nextcloud";
supportLevel = "normal";
};
2023-11-15 18:26:04 +00:00
};
}