kdeconnect: properly use NixOS module
This commit is contained in:
parent
0473529811
commit
57a2e3b839
2 changed files with 1 additions and 14 deletions
|
@ -67,19 +67,6 @@ in
|
||||||
# Open ports in the firewall.
|
# Open ports in the firewall.
|
||||||
# networking.firewall.allowedTCPPorts = [ ... ];
|
# networking.firewall.allowedTCPPorts = [ ... ];
|
||||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||||
networking.firewall.allowedTCPPortRanges = [
|
|
||||||
{
|
|
||||||
from = 1714;
|
|
||||||
to = 1764;
|
|
||||||
}
|
|
||||||
];
|
|
||||||
networking.firewall.allowedUDPPortRanges = [
|
|
||||||
{
|
|
||||||
from = 1714;
|
|
||||||
to = 1764;
|
|
||||||
}
|
|
||||||
]; # for KDE connect
|
|
||||||
# FIXME: kdeconnect module
|
|
||||||
# Or disable the firewall altogether.
|
# Or disable the firewall altogether.
|
||||||
# networking.firewall.enable = false;
|
# networking.firewall.enable = false;
|
||||||
|
|
||||||
|
@ -170,6 +157,7 @@ in
|
||||||
kontact = true;
|
kontact = true;
|
||||||
merkuro = true;
|
merkuro = true;
|
||||||
};
|
};
|
||||||
|
programs.kdeconnect.enable = true;
|
||||||
# enable wayland for Chromium and Electron
|
# enable wayland for Chromium and Electron
|
||||||
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
||||||
|
|
||||||
|
|
|
@ -194,7 +194,6 @@ let
|
||||||
|
|
||||||
kdeTools = [
|
kdeTools = [
|
||||||
okteta
|
okteta
|
||||||
plasma5Packages.kdeconnect-kde
|
|
||||||
]
|
]
|
||||||
++ (with kdePackages; [
|
++ (with kdePackages; [
|
||||||
okular
|
okular
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue