diff options
author | Silas Schöffel <sils@sils.li> | 2024-05-06 14:00:54 +0200 |
---|---|---|
committer | Silas Schöffel <sils@sils.li> | 2024-05-06 14:00:54 +0200 |
commit | 68b8f62e32fd9d0217f26e520ab6b05fe4d65290 (patch) | |
tree | 517ffd812358acc2e086618529c6e11314511946 | |
parent | flake.lock: update (diff) | |
download | nix-config-68b8f62e32fd9d0217f26e520ab6b05fe4d65290.tar.gz nix-config-68b8f62e32fd9d0217f26e520ab6b05fe4d65290.zip |
kdeconnect: init module
-rw-r--r-- | hm/default.nix | 1 | ||||
-rw-r--r-- | modules/hm/sils/default.nix | 1 | ||||
-rw-r--r-- | modules/hm/sils/kdeconnect.nix | 15 |
3 files changed, 17 insertions, 0 deletions
diff --git a/hm/default.nix b/hm/default.nix index c85da70..ef3d14d 100644 --- a/hm/default.nix +++ b/hm/default.nix @@ -37,6 +37,7 @@ bat.enable = true; firefox.enable = true; jameica.enable = true; + kdeconnect.enable = true; mail.enable = true; zathura.enable = true; }; 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; + }; + }; +} |