Files
sp-config/sp-modules/nextcloud/flake.nix

46 lines
1.3 KiB
Nix
Raw Normal View History

2023-11-15 22:26:04 +04:00
{
description = "PoC SP module for nextcloud";
2025-06-18 19:53:44 +03:00
outputs =
{ self }:
{
nixosModules.default = _: {
imports = [
./module.nix
./cleanup-module.nix
];
2025-03-28 17:18:16 +03:00
};
2025-06-18 19:53:44 +03:00
configPathsNeeded = builtins.fromJSON (builtins.readFile ./config-paths-needed.json);
meta =
{ lib, ... }:
{
spModuleSchemaVersion = 1;
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"
"redis-nextcloud.service"
];
folders = [
"/var/lib/nextcloud"
];
license = [
lib.licenses.agpl3Plus
];
homepage = "https://nextcloud.com/";
sourcePage = "https://github.com/nextcloud";
supportLevel = "normal";
sso = {
userGroup = "sp.nextcloud.users";
adminGroup = "sp.nextcloud.admins";
};
};
2024-12-18 15:40:15 +03:00
};
2023-11-15 22:26:04 +04:00
}