mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2024-11-25 14:28:44 +01:00
23 lines
431 B
Nix
23 lines
431 B
Nix
{
|
|
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;
|
|
};
|
|
};
|
|
};
|
|
}
|