diff --git a/hosts/eos/hardware-configuration.nix b/hosts/eos/hardware-configuration.nix index 94b147f..edb02a7 100644 --- a/hosts/eos/hardware-configuration.nix +++ b/hosts/eos/hardware-configuration.nix @@ -7,11 +7,12 @@ boot = { initrd.availableKernelModules = [ "ehci_pci" "ahci" "usb_storage" "sd_mod" "sdhci_pci" ]; - initrd.kernelModules = [ ]; initrd.supportedFilesystems = [ "zfs" ]; - kernelModules = [ ]; + kernel.sysctl = { + "kernel.nmi_watchdog" = 0; + "vm.laptop_mode" = 5; + }; kernelParams = [ "elevator=none" ]; - extraModulePackages = [ ]; supportedFilesystems = [ "zfs" ]; }; diff --git a/hosts/hypnos/hardware-configuration.nix b/hosts/hypnos/hardware-configuration.nix index 88dd874..6519242 100644 --- a/hosts/hypnos/hardware-configuration.nix +++ b/hosts/hypnos/hardware-configuration.nix @@ -7,6 +7,10 @@ boot = { initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ]; + kernel.sysctl = { + "kernel.nmi_watchdog" = 0; + "vm.laptop_mode" = 5; + }; kernelModules = [ "applesmc" "kvm-intel" "wl" ]; extraModulePackages = [ config.boot.kernelPackages.broadcom_sta