odin: Tweak kernel settings for caddy, open port
This commit is contained in:
parent
4902661b78
commit
0793b93a0a
2 changed files with 9 additions and 0 deletions
|
@ -62,6 +62,11 @@
|
|||
# kernelParams = [ "intel_iommu=on" "i915.enable_gvt=1" "cpufreq.default_governor=ondemand" ];
|
||||
|
||||
extraModulePackages = with config.boot.kernelPackages; [ gasket ];
|
||||
|
||||
kernel.sysctl = {
|
||||
"net.core.rmem_max" = 2500000;
|
||||
"net.core.wmem_max" = 2500000;
|
||||
};
|
||||
};
|
||||
|
||||
hardware.enableAllFirmware = true;
|
||||
|
|
|
@ -5,6 +5,10 @@
|
|||
networkmanager.enable = false;
|
||||
useNetworkd = true;
|
||||
nftables.enable = true;
|
||||
|
||||
firewall = {
|
||||
allowedTCPPorts = [ 8443 ];
|
||||
};
|
||||
};
|
||||
|
||||
systemd = {
|
||||
|
|
Loading…
Reference in a new issue