mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[General] Add toggleable optimizations for Intel graphics
This commit is contained in:
parent
ff6d1bafb6
commit
e07850a838
1 changed files with 1 additions and 0 deletions
|
|
@ -61,6 +61,7 @@ in
|
|||
|
||||
boot.kernelParams = concatLists [
|
||||
(optional cfg.unsafeOptimizations "mitigations=off")
|
||||
(optionals cfg.unsafeOptimizations [ "i915.mitigations=off" "i915.enable_dc=4" "i915.fastboot=1" ] )
|
||||
];
|
||||
|
||||
powerManagement.cpuFreqGovernor = mkDefault "schedutil";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue