16 lines
266 B
Nix
16 lines
266 B
Nix
{
|
|
lib,
|
|
config,
|
|
...
|
|
}: let
|
|
cfg = config.myConfig.programs.nextcloud;
|
|
in {
|
|
options.myConfig.programs.nextcloud = {
|
|
enable = lib.mkEnableOption "nextcloud client";
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
services.nextcloud-client.enable = true;
|
|
};
|
|
}
|