From 68b8f62e32fd9d0217f26e520ab6b05fe4d65290 Mon Sep 17 00:00:00 2001 From: Silas Schöffel Date: Mon, 6 May 2024 14:00:54 +0200 Subject: kdeconnect: init module --- modules/hm/sils/default.nix | 1 + modules/hm/sils/kdeconnect.nix | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 modules/hm/sils/kdeconnect.nix (limited to 'modules') diff --git a/modules/hm/sils/default.nix b/modules/hm/sils/default.nix index fc0893f..09fc911 100644 --- a/modules/hm/sils/default.nix +++ b/modules/hm/sils/default.nix @@ -3,6 +3,7 @@ ./bat.nix ./firefox ./jameica.nix + ./kdeconnect.nix ./mail.nix ./zathura.nix ]; diff --git a/modules/hm/sils/kdeconnect.nix b/modules/hm/sils/kdeconnect.nix new file mode 100644 index 0000000..f8fe386 --- /dev/null +++ b/modules/hm/sils/kdeconnect.nix @@ -0,0 +1,15 @@ +{ + config, + lib, + ... +}: let + cfg = config.sils.kdeconnect; +in { + options.sils.kdeconnect.enable = lib.mkEnableOption "kdeconnect"; + config = lib.mkIf cfg.enable { + services.kdeconnect = { + enable = true; + indicator = true; + }; + }; +} -- cgit 1.4.1