features/kde: added KDE connect
This commit is contained in:
+5
-1
@@ -26,11 +26,15 @@ in
|
||||
extraPortals = with pkgs; [ kdePackages.xdg-desktop-portal-kde ];
|
||||
};
|
||||
|
||||
programs.ssh = {
|
||||
programs = {
|
||||
ssh = {
|
||||
startAgent = true;
|
||||
enableAskPassword = true;
|
||||
};
|
||||
|
||||
kdeconnect.enable = true;
|
||||
};
|
||||
|
||||
environment = {
|
||||
systemPackages = with pkgs.kdePackages; [
|
||||
union
|
||||
|
||||
@@ -177,6 +177,21 @@ in
|
||||
"virbr0"
|
||||
"br0"
|
||||
];
|
||||
|
||||
allowedTCPPortRanges = [
|
||||
{
|
||||
from = 1714;
|
||||
to = 1764;
|
||||
} # KDE Connect
|
||||
];
|
||||
|
||||
allowedUDPPortRanges = [
|
||||
{
|
||||
from = 1714;
|
||||
to = 1764;
|
||||
} # KDE Connect
|
||||
];
|
||||
|
||||
allowedTCPPorts = [ 22 ];
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user