aboutsummaryrefslogtreecommitdiff
path: root/profiles/core
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2025-08-12 10:08:40 -0700
committerFranck Cuny <franck@fcuny.net>2025-08-12 10:08:40 -0700
commitdf787c739c6bde9c369d8f95a65126d387103f8e (patch)
tree2d2f1c07f230644c7b7abcbaaa9ea9670299ab88 /profiles/core
parentuse podman for containers on nixos (diff)
downloadinfra-df787c739c6bde9c369d8f95a65126d387103f8e.tar.gz
add a profile for boot
Diffstat (limited to 'profiles/core')
-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;
+ };
+}