Closed Anomalocaridid closed 1 year ago
I wonder if this could be caused by the way you have GRUB installed.
Perhaps this line?
The GRUB theme works as expected through nixos-rebuild build-vm
with a basic configuration.
It could be, but according to the NixOS manual (section 2.3.3, step 4), setting boot.loader.grub.device
to nodev
is necessary for UEFI systems. If I recall correctly, it was even in the initial configuration.nix
file when I first installed NixOS to the VM.
Also, just in case it is important, my VM is set up to use UEFI because I eventually plan to use the NixOS config I am setting up on a PC that uses UEFI.
It works. I think the fact that I was using it in a VM may have been the cause because it works fine on a normal installation. Although it could also be that something changed in NixOS or Stylix since I made this issue.
Sorry for taking so long to get back about this, but shortly after I reported this issue, I ran into some unrelated limitations of the Base16 theming system that irritated me enough to make me stop using Stylix for a while. I didn't get around to giving Stylix another shot until today.
For some reason, stylix does not correctly color GRUB.
Rather than using my color scheme, GRUB looks like this:
I was able to take a screenshot of GRUB because I installed NixOS to a VM.
So far, I have not had any issues theming other programs.
As far as I can tell, this might be related to #61 if the underlying issue's something like an invalid theme causing GRUB to fall back to defaults.