diff options
| author | Quentin Aristote <quentin@aristote.fr> | 2022-07-26 17:55:28 +0200 |
|---|---|---|
| committer | Quentin Aristote <quentin@aristote.fr> | 2022-07-26 17:55:28 +0200 |
| commit | 662c1403e6497ecbd0673c28daee03cd3ee176e3 (patch) | |
| tree | f8e2f5bbc49ae1e7aeaa6922fbcb897847d611ab /nixos/hardware-configuration.nix | |
| parent | 1035343593326464f60d969d3f350bd8b3f3a324 (diff) | |
try some fixes for freezing: enable fstrim, disable gpu power management
Diffstat (limited to 'nixos/hardware-configuration.nix')
| -rw-r--r-- | nixos/hardware-configuration.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/hardware-configuration.nix b/nixos/hardware-configuration.nix index b308ee1..989ca62 100644 --- a/nixos/hardware-configuration.nix +++ b/nixos/hardware-configuration.nix @@ -8,6 +8,7 @@ boot.initrd.kernelModules = [ "dm-snapshot" ]; boot.kernelModules = [ "kvm-intel" ]; boot.extraModulePackages = [ ]; + boot.kernelParams = [ "i915.dc_enable=0" ]; fileSystems."/" = { device = "/dev/disk/by-uuid/f5809224-8478-474f-b25d-dde1ada37957"; |
