From 9f4676ddacfed91fab1606f6748a5c3dbf522934 Mon Sep 17 00:00:00 2001 From: chn Date: Tue, 20 Jun 2023 23:21:35 +0800 Subject: [PATCH] only reset iwlwifi after hibernation --- modules/hardware/chn-PC.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/hardware/chn-PC.nix b/modules/hardware/chn-PC.nix index 9ce1285d..3e057e61 100644 --- a/modules/hardware/chn-PC.nix +++ b/modules/hardware/chn-PC.nix @@ -15,7 +15,7 @@ Type = "oneshot"; ExecStart = [ - "${pkgs.kmod}/bin/modprobe -r iwlmvm iwlwifi" + "${pkgs.kmod}/bin/modprobe -r iwlwifi" "${pkgs.kmod}/bin/modprobe iwlwifi" "echo 0 | tee /sys/devices/system/cpu/intel_pstate/no_turbo" ];