From e94639bc99657b95f88ab1928f06675b2f5178d4 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Wed, 27 Mar 2024 22:21:50 +0000 Subject: [PATCH] Adjust panel settings --- hardware/p8-laptop.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hardware/p8-laptop.nix b/hardware/p8-laptop.nix index ffe2f3f..24c2d5d 100644 --- a/hardware/p8-laptop.nix +++ b/hardware/p8-laptop.nix @@ -8,10 +8,11 @@ # Fix on boot framebuffer res and rotation boot.kernelParams = - [ + [ "video=efifb:mode=0" + "video=DSI-1:panel_orientation=right_side_up" "fbcon=rotate:1" - ]; + ]; boot.kernelPackages = pkgs.linuxPackages_latest; # Provide rotation to X/Wayland