ctucx.git: nixfiles

ctucx' nixfiles

commit cfb0af842236def87b7c956cd1bb2844da77dfb8
parent d85737fd82df66cf5e303f925ef406fb3db1293f
Author: Leah (ctucx) <git@ctu.cx>
Date: Tue, 22 Oct 2024 13:45:37 +0200

machines/coladose: use gpu driver to rotate screen instead of fbcon
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/machines/coladose/default.nix b/machines/coladose/default.nix
@@ -17,7 +17,9 @@
     loader.systemd-boot.enable = true;
     loader.efi.canTouchEfiVariables = true;
 
-    kernelParams   = [ "fbcon=rotate:1" ];
+    initrd.kernelModules = [ "video" "i915" ];
+
+    kernelParams   = [ "video=DSI-1:panel_orientation=right_side_up" ];
     kernelPackages = pkgs.linuxPackages_latest;
   };