nixos/modules/home/programs/nextcloud.nix

16 lines
266 B
Nix
Raw Normal View History

{
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;
};
}