Kde connect unified configuration
This commit is contained in:
parent
2d30131ec4
commit
8ad70a9ada
5 changed files with 10 additions and 24 deletions
|
|
@ -163,6 +163,7 @@
|
||||||
./nixos_modules/sesar.nix
|
./nixos_modules/sesar.nix
|
||||||
./nixos_modules/pentablet.nix
|
./nixos_modules/pentablet.nix
|
||||||
./nixos_modules/steam-link.nix
|
./nixos_modules/steam-link.nix
|
||||||
|
./nixos_modules/kdeconnect.nix
|
||||||
|
|
||||||
{ home-manager.users.bertof = import ./thor/hm.nix; }
|
{ home-manager.users.bertof = import ./thor/hm.nix; }
|
||||||
];
|
];
|
||||||
|
|
@ -184,6 +185,7 @@
|
||||||
./nixos_modules/sesar.nix
|
./nixos_modules/sesar.nix
|
||||||
./nixos_modules/pentablet.nix
|
./nixos_modules/pentablet.nix
|
||||||
./nixos_modules/steam-link.nix
|
./nixos_modules/steam-link.nix
|
||||||
|
./nixos_modules/kdeconnect.nix
|
||||||
|
|
||||||
{ home-manager.users.bertof = import ./odin/hm.nix; }
|
{ home-manager.users.bertof = import ./odin/hm.nix; }
|
||||||
];
|
];
|
||||||
|
|
|
||||||
7
nixos_modules/kdeconnect.nix
Normal file
7
nixos_modules/kdeconnect.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
{
|
||||||
|
# networking.firewall = {
|
||||||
|
# allowedTCPPortRanges = [{ from = 1714; to = 1764; }];
|
||||||
|
# allowedUDPPortRanges = [{ from = 1714; to = 1764; }];
|
||||||
|
# };
|
||||||
|
programs.kdeconnect.enable = true;
|
||||||
|
}
|
||||||
|
|
@ -42,13 +42,6 @@ with lib; {
|
||||||
# firewall.allowedUDPPorts = [ ... ];
|
# firewall.allowedUDPPorts = [ ... ];
|
||||||
# Or disable the firewall altogether.
|
# Or disable the firewall altogether.
|
||||||
# firewall.enable = false;
|
# firewall.enable = false;
|
||||||
|
|
||||||
firewall.allowedTCPPortRanges = [
|
|
||||||
{ from = 1714; to = 1764; } # KDEConnect
|
|
||||||
];
|
|
||||||
firewall.allowedUDPPortRanges = [
|
|
||||||
{ from = 1714; to = 1764; } # KDEConnect
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
services.hardware.bolt.enable = true;
|
services.hardware.bolt.enable = true;
|
||||||
|
|
|
||||||
|
|
@ -115,8 +115,8 @@
|
||||||
../hm_modules/helix.nix
|
../hm_modules/helix.nix
|
||||||
# ../hm_modules/joystickwake.nix
|
# ../hm_modules/joystickwake.nix
|
||||||
../hm_modules/kakoune.nix
|
../hm_modules/kakoune.nix
|
||||||
# ../hm_modules/keepassxc.nix
|
|
||||||
../hm_modules/kdeconnect.nix
|
../hm_modules/kdeconnect.nix
|
||||||
|
# ../hm_modules/keepassxc.nix
|
||||||
../hm_modules/kitty.nix
|
../hm_modules/kitty.nix
|
||||||
../hm_modules/lf.nix
|
../hm_modules/lf.nix
|
||||||
../hm_modules/libinput-gestures.nix
|
../hm_modules/libinput-gestures.nix
|
||||||
|
|
|
||||||
|
|
@ -75,22 +75,6 @@ with lib; {
|
||||||
};
|
};
|
||||||
networkmanager.enable = true;
|
networkmanager.enable = true;
|
||||||
useDHCP = false;
|
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";
|
time.timeZone = "Europe/Rome";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue