From 6b55345b66c947fbe1e784d1339136e70c11f7ff Mon Sep 17 00:00:00 2001 From: Jacob Bachmann Date: Mon, 9 Sep 2024 18:36:00 +0200 Subject: [PATCH] fix: add nomodeset kernel param --- hosts/APPA/hardware.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hosts/APPA/hardware.nix b/hosts/APPA/hardware.nix index e0601b7..0befd2b 100644 --- a/hosts/APPA/hardware.nix +++ b/hosts/APPA/hardware.nix @@ -22,6 +22,10 @@ boot.kernelModules = [ "kvm-intel" ]; boot.extraModulePackages = [ ]; + boot.kernelParams = [ + "nomodeset" # otherwise freezes on boot with lid closed + ]; + fileSystems."/" = { device = "/dev/disk/by-label/ROOT"; fsType = "btrfs";