feat(home-utils): add kde-connect

This commit is contained in:
EinEtwas 2024-11-11 18:42:19 +01:00
parent 5413ea8c50
commit 9da86a9fa3
Signed by: etwas
SSH key fingerprint: SHA256:bHhIeAdn/2k9jmOs6+u6ox98VYmoHUN3HfnpV2w8Ws0
3 changed files with 23 additions and 0 deletions

View file

@ -4,6 +4,7 @@
./btop.nix
./direnv.nix
./easyeffects.nix
./kde-connect.nix
./udiskie.nix
];
}

View file

@ -0,0 +1,6 @@
{
services.kdeconnect = {
enable = true;
indicator = true;
};
}

View file

@ -15,5 +15,21 @@
# still possible to use this option, but it's recommended to use it in conjunction
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
useDHCP = lib.mkDefault true;
# open ports for kde connect
firewall = {
allowedTCPPortRanges = [
{
from = 1714;
to = 1764;
}
];
allowedUDPPortRanges = [
{
from = 1714;
to = 1764;
}
];
};
};
}