aboutsummaryrefslogtreecommitdiff
path: root/profiles/core/boot.nix
diff options
context:
space:
mode:
Diffstat (limited to 'profiles/core/boot.nix')
-rw-r--r--profiles/core/boot.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/profiles/core/boot.nix b/profiles/core/boot.nix
new file mode 100644
index 0000000..42bbb02
--- /dev/null
+++ b/profiles/core/boot.nix
@@ -0,0 +1,9 @@
+{ pkgs, ... }:
+{
+ boot.kernelPackages = pkgs.linuxPackages_latest;
+
+ boot.kernel.sysctl = {
+ "net.ipv4.tcp_fastopen" = 3;
+ "net.ipv4.tcp_tw_reuse" = 1;
+ };
+}