have the kde connect file automagically discover the other systems :)

This commit is contained in:
Lillian Violet 2024-12-07 02:35:50 +01:00
parent eedc40ed88
commit c60f7f6ee8

View file

@ -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 = { programs.plasma = {
enable = true; enable = true;
desktop.mouseActions.verticalScroll = "switchVirtualDesktop"; desktop.mouseActions.verticalScroll = "switchVirtualDesktop";