dell-latitude-e6540.nix (644B)
1 { config, pkgs, ... }: 2 3 { 4 boot = { 5 loader.efi.canTouchEfiVariables = true; 6 kernelParams = [ 7 # Kernel GPU Savings Options (NOTE i915 chipset only) 8 "i915.enable_rc6=0" 9 "i915.enable_fbc=1" 10 "i915.lvds_use_ssc=0" 11 "drm.debug=0" 12 "drm.vblankoffdelay=1" 13 ]; 14 blacklistedKernelModules = [ 15 # Kernel GPU Savings Options (NOTE i915 chipset only) 16 "sierra_net" 17 "cdc_mbim" 18 "cdc_ncm" 19 ]; 20 }; 21 hardware = { 22 opengl = { 23 enable = true; 24 extraPackages = [ pkgs.vaapiIntel ]; 25 driSupport32Bit = true; 26 }; 27 }; 28 nix.maxJobs = 8; 29 services.acpid.enable = true; 30 }