From 662c1403e6497ecbd0673c28daee03cd3ee176e3 Mon Sep 17 00:00:00 2001 From: Quentin Aristote Date: Tue, 26 Jul 2022 17:55:28 +0200 Subject: try some fixes for freezing: enable fstrim, disable gpu power management --- nixos/hardware-configuration.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'nixos/hardware-configuration.nix') 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"; -- cgit v1.2.3