{ lib, pkgs, ... }: { imports = [ ./filesystem.nix ]; hardware = { cpu.intel.updateMicrocode = lib.mkDefault true; enableRedistributableFirmware = true; }; boot = { consoleLogLevel = 4; initrd = { availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "uas" "sd_mod" ]; kernelModules = [ "i915" ]; systemd.enable = true; }; kernelModules = [ "kvm-intel" ]; kernelPackages = lib.mkDefault pkgs.linuxPackages_latest; kernelParams = [ ]; kernel.sysctl = { "vm.swappiness" = 10; "vm.dirty_ratio" = 3; }; loader = { efi.canTouchEfiVariables = true; systemd-boot.enable = true; }; }; powerManagement.cpuFreqGovernor = lib.mkDefault "performance"; }