dotfiles/modules/services/kdeconnect.nix

15 lines
265 B
Nix
Raw Normal View History

2021-11-08 15:44:21 +01:00
{ config, lib, pkgs, ... }:
let
ports = {
from = 1714;
to = 1764;
};
2021-11-11 18:34:54 +01:00
in
{
2021-11-08 15:44:21 +01:00
home-manager.users.moritz.services = { kdeconnect.enable = true; };
networking.firewall = {
allowedTCPPortRanges = [ ports ];
allowedUDPPortRanges = [ ports ];
};
}