nixos/modules/home/programs/nextcloud.nix

16 lines
252 B
Nix
Raw Normal View History

{
lib,
config,
...
}: let
cfg = config.myPrograms.nextcloud;
in {
options = {
myPrograms.nextcloud.enable = lib.mkEnableOption "nextcloud client";
};
config = lib.mkIf cfg.enable {
services.nextcloud-client.enable = true;
};
}