aboutsummaryrefslogtreecommitdiffstats
path: root/modules/hm/sils/nextcloud.nix
blob: f71eb215268599ffe755aa6a42aef9b386ad5acf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
  config,
  lib,
  ...
}: let
  cfg = config.sils.nextcloud;
in {
  options.sils.nextcloud.enable = lib.mkEnableOption "the nextcloud desktop
  client";
  config = lib.mkIf cfg.enable {
    services.nextcloud-client = {
      enable = true;
      startInBackground = true;
    };
  };
}