open kdeconnect ports for basado
This commit is contained in:
parent
f7684f89c3
commit
41c2e8a663
3 changed files with 6 additions and 10 deletions
|
|
@ -10,6 +10,7 @@ in
|
|||
../common-graphics.nix
|
||||
(import ../remote-disk-unlock.nix ["igb"] sshKeys)
|
||||
../builder.nix
|
||||
../kdeconnect-ports.nix
|
||||
];
|
||||
|
||||
boot.loader = {
|
||||
|
|
|
|||
4
os/kdeconnect-ports.nix
Normal file
4
os/kdeconnect-ports.nix
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{ config, pkgs, ... }: {
|
||||
networking.firewall.allowedTCPPortRanges = [{ from = 1714; to = 1764; }];
|
||||
networking.firewall.allowedUDPPortRanges = [{ from = 1714; to = 1764; }];
|
||||
}
|
||||
|
|
@ -4,6 +4,7 @@
|
|||
./hardware-configuration.nix
|
||||
../common.nix
|
||||
../common-graphics.nix
|
||||
../kdeconnect-ports.nix
|
||||
];
|
||||
|
||||
# Bootloader.
|
||||
|
|
@ -51,16 +52,6 @@
|
|||
42000 # 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.libraries = with pkgs; [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue