nix-config/nixos/_mixins/hardware/gpd-generic.nix
Greg Burd 86706b1fc7 wimpy-ified
inspired by wimpysworld nix-config
2023-09-25 14:05:07 -04:00

11 lines
289 B
Nix

{ lib, ... }: {
boot.kernelParams = [ "fbcon=rotate:1" ];
# Required for grub to properly display the boot menu.
boot.loader.grub.gfxmodeEfi = lib.mkDefault "720x1280x32";
fonts.fontconfig = {
# Pixel order for rotated screen
subpixel.rgba = lib.mkDefault "vbgr";
};
}