From 932f9a9e1320569e8dfea3a2a70b01bb290aa47d Mon Sep 17 00:00:00 2001 From: Silas Schöffel Date: Mon, 23 Dec 2024 22:57:37 +0100 Subject: hm: add nextcloud-client --- modules/hm/sils/default.nix | 1 + modules/hm/sils/nextcloud.nix | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 modules/hm/sils/nextcloud.nix (limited to 'modules/hm') diff --git a/modules/hm/sils/default.nix b/modules/hm/sils/default.nix index 1cad7bc..a3ff1ed 100644 --- a/modules/hm/sils/default.nix +++ b/modules/hm/sils/default.nix @@ -10,6 +10,7 @@ ./jameica.nix ./kdeconnect.nix ./mail.nix + ./nextcloud.nix ./sway.nix ./yt-dlp.nix ./zathura.nix diff --git a/modules/hm/sils/nextcloud.nix b/modules/hm/sils/nextcloud.nix new file mode 100644 index 0000000..f71eb21 --- /dev/null +++ b/modules/hm/sils/nextcloud.nix @@ -0,0 +1,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; + }; + }; +} -- cgit 1.4.1