zaneyos/config/system/boot.nix
2024-02-19 01:11:00 -06:00

15 lines
430 B
Nix

{ pkgs, config, ... }:
{
# Bootloader
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.kernel.sysctl = { "vm.max_map_count" = 2147483642; };
boot.tmp.useTmpfs = true;
boot.tmp.tmpfsSize = "25%";
# This is for OBS Virtual Cam Support - v4l2loopback setup
boot.kernelModules = [ "v4l2loopback" ];
boot.extraModulePackages = [ config.boot.kernelPackages.v4l2loopback ];
}