From 9f63053ffdaad10a5548236d06b6dd2f28c810b8 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Tue, 31 Dec 2024 15:08:15 +0000 Subject: [PATCH] Adjust vm.max_map_count and fs.file-max for Vanguard Better settings for playing star citizen --- system/Vanguard.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/system/Vanguard.nix b/system/Vanguard.nix index 9f46c741..17191b36 100644 --- a/system/Vanguard.nix +++ b/system/Vanguard.nix @@ -51,6 +51,10 @@ ]; }; boot = { + kernel.sysctl = { + "vm.max_map_count" = 16777216; + "fs.file-max" = 524288; + }; extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ]; extraModprobeConfig = '' options v4l2loopback devices=1 video_nr=1 card_label="OBS Cam" exclusive_caps=1