2023-11-26 20:26:49 +00:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: let
|
|
|
|
cfg = config.jade.desktop.kdeconnect;
|
|
|
|
in
|
|
|
|
with lib; {
|
|
|
|
options.jade.desktop.kdeconnect = {
|
|
|
|
enable = mkEnableOption "Enable KDE connect";
|
|
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
programs.kdeconnect.enable = true;
|
|
|
|
home-manager.users.jade = {pkgs, ...}: {
|
|
|
|
services.kdeconnect = {
|
|
|
|
enable = true;
|
|
|
|
indicator = true;
|
|
|
|
};
|
2023-02-13 11:54:21 +00:00
|
|
|
};
|
|
|
|
};
|
2023-11-26 20:26:49 +00:00
|
|
|
}
|