20 lines
441 B
Nix
20 lines
441 B
Nix
|
{ config, lib, pkgs, ... }:
|
||
|
|
||
|
{
|
||
|
networking = {
|
||
|
# useDHCP = false;
|
||
|
interfaces.enp0s31f6.useDHCP = true;
|
||
|
networkmanager.enable = true;
|
||
|
stevenblack.block = [ "fakenews" "gambling" "porn" ];
|
||
|
firewall = {
|
||
|
enable = true;
|
||
|
allowedTCPPortRanges = [
|
||
|
{ from = 1714; to = 1764; } # KDE Connect
|
||
|
];
|
||
|
allowedUDPPortRanges = [
|
||
|
{ from = 1714; to = 1764; } # KDE Connect
|
||
|
];
|
||
|
};
|
||
|
};
|
||
|
}
|