{ config, pkgs, ... }: { boot = { # Kernel kernelPackages = pkgs.linuxPackages_zen; # This is for OBS Virtual Cam Support kernelModules = ["v4l2loopback"]; extraModulePackages = [config.boot.kernelPackages.v4l2loopback]; # Needed For Some Steam Games kernel.sysctl = { "vm.max_map_count" = 2147483642; }; # Bootloader. loader = { systemd-boot.enable = true; efi.canTouchEfiVariables = true; }; initrd.systemd.dbus.enable = true; # Make /tmp a tmpfs tmp = { useTmpfs = false; tmpfsSize = "30%"; }; # Appimage Support binfmt.registrations.appimage = { wrapInterpreterInShell = false; interpreter = "${pkgs.appimage-run}/bin/appimage-run"; recognitionType = "magic"; offset = 0; mask = ''\xff\xff\xff\xff\x00\x00\x00\x00\xff\xff\xff''; magicOrExtension = ''\x7fELF....AI\x02''; }; plymouth.enable = true; }; }