From e1b4078060c5326eb59c02f7c2600755de4eaee0 Mon Sep 17 00:00:00 2001 From: ElnuDev Date: Sat, 8 Oct 2022 12:54:16 -0700 Subject: [PATCH] Fix GRUB resolution --- README.md | 1 - configuration.nix | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 04fa041..bb75e0d 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,6 @@ ### TODO -- Fix GRUB resolution to match ThinkPad's native display resolution - Make rofi power menu work by removing password requirement from shutdown, reboot, etc., which is normally done with `visudo` (see [this Stack Overflow thread](https://askubuntu.com/a/168885) and [Nix `sudo` option](https://search.nixos.org/options?channel=22.05&from=0&size=50&sort=relevance&type=packages&query=sudo). - Package safe poweroff bash script required by rofi power menu - Add volume and mute button controls to i3 diff --git a/configuration.nix b/configuration.nix index c3b87a6..6caf9ff 100644 --- a/configuration.nix +++ b/configuration.nix @@ -23,6 +23,10 @@ in grub = { efiSupport = true; device = "nodev"; + # 1024x768 is the closest supported resolution to X220's native 1366x768 + # To see a list of supported GRUB resolutions, enter GRUB, + # press e, F2 to enter command mode, and then type videoinfo to see list + gfxmodeEfi = "1024x768"; }; };