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 ];
|
extraPortals = with pkgs; [ kdePackages.xdg-desktop-portal-kde ];
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.ssh = {
|
programs = {
|
||||||
|
ssh = {
|
||||||
startAgent = true;
|
startAgent = true;
|
||||||
enableAskPassword = true;
|
enableAskPassword = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
kdeconnect.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
environment = {
|
environment = {
|
||||||
systemPackages = with pkgs.kdePackages; [
|
systemPackages = with pkgs.kdePackages; [
|
||||||
union
|
union
|
||||||
|
|||||||
@@ -177,6 +177,21 @@ in
|
|||||||
"virbr0"
|
"virbr0"
|
||||||
"br0"
|
"br0"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
allowedTCPPortRanges = [
|
||||||
|
{
|
||||||
|
from = 1714;
|
||||||
|
to = 1764;
|
||||||
|
} # KDE Connect
|
||||||
|
];
|
||||||
|
|
||||||
|
allowedUDPPortRanges = [
|
||||||
|
{
|
||||||
|
from = 1714;
|
||||||
|
to = 1764;
|
||||||
|
} # KDE Connect
|
||||||
|
];
|
||||||
|
|
||||||
allowedTCPPorts = [ 22 ];
|
allowedTCPPorts = [ 22 ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user