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