2024-05-18 21:20:50 +02:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}: let
|
2024-05-20 21:15:16 +02:00
|
|
|
cfg = config.myConfig.programs.nextcloud;
|
2024-05-18 21:20:50 +02:00
|
|
|
in {
|
2024-05-20 21:15:16 +02:00
|
|
|
options.myConfig.programs.nextcloud = {
|
|
|
|
enable = lib.mkEnableOption "nextcloud client";
|
2024-05-18 21:20:50 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
|
|
services.nextcloud-client.enable = true;
|
|
|
|
};
|
|
|
|
}
|