add firewall exceptions for kdeconnect
parent
d45cdff796
commit
424afe3c83
|
@ -1,9 +1,7 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [ ./dunst ./agenix.nix ./diskstation ./picom.nix ];
|
||||
|
||||
home-manager.users.moritz.services = { kdeconnect.enable = true; };
|
||||
imports = [ ./dunst ./agenix.nix ./diskstation ./picom.nix ./kdeconnect.nix ];
|
||||
|
||||
services = {
|
||||
printing.enable = true;
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
let
|
||||
ports = {
|
||||
from = 1714;
|
||||
to = 1764;
|
||||
};
|
||||
in {
|
||||
home-manager.users.moritz.services = { kdeconnect.enable = true; };
|
||||
networking.firewall = {
|
||||
allowedTCPPortRanges = [ ports ];
|
||||
allowedUDPPortRanges = [ ports ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue