mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2024-12-13 08:50:41 +01:00
15 lines
430 B
Nix
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 ];
|
|
}
|