nix-config/hosts/common/optional/kde-connect.nix

17 lines
503 B
Nix
Raw Normal View History

{ pkgs, ... }: {
2023-12-24 11:16:59 +01:00
programs.kdeconnect.enable = true;
# Create system services for KDE connect
systemd.user.services.kdeconnect = {
description = "Adds communication between your desktop and your smartphone";
after = [ "graphical-session-pre.target" ];
partOf = [ "graphical-session.target" ];
wantedBy = [ "graphical-session.target" ];
2023-12-24 11:16:59 +01:00
serviceConfig = {
ExecStart = "${pkgs.plasma5Packages.kdeconnect-kde}/libexec/kdeconnectd";
Restart = "on-abort";
};
};
}