hyprland: enabled kdeconnect
This commit is contained in:
parent
d1d0d78349
commit
0cd254e942
|
@ -27,6 +27,7 @@ in
|
|||
./swaync.nix
|
||||
./ntfy-sh.nix
|
||||
./gnome-keyring.nix
|
||||
./kdeconnect.nix
|
||||
|
||||
./wallust
|
||||
];
|
||||
|
|
26
home/modules/hyprland/kdeconnect.nix
Normal file
26
home/modules/hyprland/kdeconnect.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
let
|
||||
hyprland = config.profile.hyprland;
|
||||
inherit (lib) mkIf;
|
||||
in
|
||||
{
|
||||
config = mkIf hyprland.enable {
|
||||
services.kdeconnect = {
|
||||
enable = true;
|
||||
indicator = true;
|
||||
};
|
||||
|
||||
systemd.user.services.kdeconnect-indicator.Service.ExecStart = lib.mkForce ''
|
||||
${pkgs.dbus}/bin/dbus-launch ${pkgs.kdePackages.kdeconnect-kde}/bin/kdeconnect-indicator
|
||||
'';
|
||||
|
||||
systemd.user.services.kdeconnect.Service.ExecStart = lib.mkForce ''
|
||||
${pkgs.dbus}/bin/dbus-launch ${pkgs.kdePackages.kdeconnect-kde}/libexec/kdeconnectd
|
||||
'';
|
||||
};
|
||||
}
|
|
@ -57,6 +57,8 @@ in
|
|||
];
|
||||
};
|
||||
|
||||
programs.kdeconnect.enable = true;
|
||||
|
||||
fonts.packages = with pkgs; [
|
||||
meslo-lgs-nf
|
||||
font-awesome
|
||||
|
|
Loading…
Reference in a new issue