Kde connect unified configuration

This commit is contained in:
Filippo Berto 2022-12-25 22:57:10 +01:00
parent 2d30131ec4
commit 8ad70a9ada
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056
5 changed files with 10 additions and 24 deletions

View file

@ -163,6 +163,7 @@
./nixos_modules/sesar.nix
./nixos_modules/pentablet.nix
./nixos_modules/steam-link.nix
./nixos_modules/kdeconnect.nix
{ home-manager.users.bertof = import ./thor/hm.nix; }
];
@ -184,6 +185,7 @@
./nixos_modules/sesar.nix
./nixos_modules/pentablet.nix
./nixos_modules/steam-link.nix
./nixos_modules/kdeconnect.nix
{ home-manager.users.bertof = import ./odin/hm.nix; }
];

View file

@ -0,0 +1,7 @@
{
# networking.firewall = {
# allowedTCPPortRanges = [{ from = 1714; to = 1764; }];
# allowedUDPPortRanges = [{ from = 1714; to = 1764; }];
# };
programs.kdeconnect.enable = true;
}

View file

@ -42,13 +42,6 @@ with lib; {
# firewall.allowedUDPPorts = [ ... ];
# Or disable the firewall altogether.
# firewall.enable = false;
firewall.allowedTCPPortRanges = [
{ from = 1714; to = 1764; } # KDEConnect
];
firewall.allowedUDPPortRanges = [
{ from = 1714; to = 1764; } # KDEConnect
];
};
services.hardware.bolt.enable = true;

View file

@ -115,8 +115,8 @@
../hm_modules/helix.nix
# ../hm_modules/joystickwake.nix
../hm_modules/kakoune.nix
# ../hm_modules/keepassxc.nix
../hm_modules/kdeconnect.nix
# ../hm_modules/keepassxc.nix
../hm_modules/kitty.nix
../hm_modules/lf.nix
../hm_modules/libinput-gestures.nix

View file

@ -75,22 +75,6 @@ with lib; {
};
networkmanager.enable = true;
useDHCP = false;
firewall.allowedTCPPortRanges = [
{ from = 1714; to = 1764; } # KDEConnect
];
firewall.allowedUDPPortRanges = [
{ from = 1714; to = 1764; } # KDEConnect
];
firewall.allowedTCPPorts = [
27036
27037 # Steam remote play
];
firewall.allowedUDPPorts = [
27031
27036 # Steam remote play
];
};
time.timeZone = "Europe/Rome";