From 71ca578f617779320eef71242c4f29a8b1c91d3d Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Sun, 20 Oct 2024 16:11:21 -0400 Subject: [PATCH] hwModules/laptop: turn off nmi_watchdog --- hwModules/common/laptop/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hwModules/common/laptop/default.nix b/hwModules/common/laptop/default.nix index 6d290ce9..346886a0 100644 --- a/hwModules/common/laptop/default.nix +++ b/hwModules/common/laptop/default.nix @@ -3,6 +3,10 @@ pkgs, ... }: { + boot.kernel.sysctl = { + "kernel.nmi_watchdog" = 0; + }; + services = { pipewire.wireplumber.extraConfig = { # Pipewire eats battery by never disabling the camera.