nixos/modules/home/programs/nextcloud.nix

20 lines
339 B
Nix
Raw Normal View History

{
lib,
config,
pkgs,
...
}: 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;
package = pkgs.unstable.nextcloud-client;
};
};
}