1
Fork 0
satellite/modules/applications/kdeconnect.nix

15 lines
516 B
Nix
Raw Normal View History

2022-02-14 18:24:43 +01:00
{ pkgs, ... }: {
home-manager.users.adrielus = {
services.kdeconnect.enable = true;
};
2022-02-20 20:16:17 +01:00
# Open port for kdeconfig
# networking.firewall.extraCommands = ''
# iptables -A nixos-fw -p tcp --source 192.0.2.0/24 --dport 1714:1764 -j nixos-fw-accept
# iptables -A nixos-fw -p udp --source 192.0.2.0/24 --dport 1714:1764 -j nixos-fw-accept
# '';
networking.firewall.allowedTCPPortRanges = [{ from = 1714; to = 1764; }];
networking.firewall.allowedUDPPortRanges = [{ from = 1714; to = 1764; }];
2022-02-14 18:24:43 +01:00
}