open kdeconnect ports for basado

This commit is contained in:
ant 2025-09-27 12:06:10 +02:00
parent f7684f89c3
commit 41c2e8a663
3 changed files with 6 additions and 10 deletions

View file

@ -10,6 +10,7 @@ in
../common-graphics.nix ../common-graphics.nix
(import ../remote-disk-unlock.nix ["igb"] sshKeys) (import ../remote-disk-unlock.nix ["igb"] sshKeys)
../builder.nix ../builder.nix
../kdeconnect-ports.nix
]; ];
boot.loader = { boot.loader = {

4
os/kdeconnect-ports.nix Normal file
View file

@ -0,0 +1,4 @@
{ config, pkgs, ... }: {
networking.firewall.allowedTCPPortRanges = [{ from = 1714; to = 1764; }];
networking.firewall.allowedUDPPortRanges = [{ from = 1714; to = 1764; }];
}

View file

@ -4,6 +4,7 @@
./hardware-configuration.nix ./hardware-configuration.nix
../common.nix ../common.nix
../common-graphics.nix ../common-graphics.nix
../kdeconnect-ports.nix
]; ];
# Bootloader. # Bootloader.
@ -51,16 +52,6 @@
42000 # warpinator 42000 # warpinator
42001 # warpinator 42001 # warpinator
]; ];
networking.firewall.allowedTCPPortRanges = [{
from = 1714;
to = 1764;
} # KDE Connect
];
networking.firewall.allowedUDPPortRanges = [{
from = 1714;
to = 1764;
} # KDE Connect
];
programs.nix-ld.enable = true; programs.nix-ld.enable = true;
programs.nix-ld.libraries = with pkgs; [ programs.nix-ld.libraries = with pkgs; [