diff --git a/home-manager/desktop/package-configs/plasma-desktop.nix b/home-manager/desktop/package-configs/plasma-desktop.nix index d823fdb..930b1ab 100644 --- a/home-manager/desktop/package-configs/plasma-desktop.nix +++ b/home-manager/desktop/package-configs/plasma-desktop.nix @@ -1,4 +1,25 @@ { + pkgs, + osConfig, + ... +}: let + kdeconnect = + pkgs.writeText "config" + '' + [General] + keyAlgorithm=EC + name=${osConfig.networking.hostName} + customDevices=10.0.0.2,10.0.0.3,10.0.0.4,10.0.0.5 + + ''; +in { + home.file = { + "config" = { + source = "${kdeconnect}"; + target = "~/.config/kdeconnect/config"; + }; + }; + programs.plasma = { enable = true; desktop.mouseActions.verticalScroll = "switchVirtualDesktop";