-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
hardware.video.hidpi.enable fails to set the console font early with systemd stage 1 #172403
Copy link
Copy link
Closed
Labels
0.kind: bugSomething is brokenSomething is broken6.topic: nixosIssues or PRs affecting NixOS modules, or package usability issues specific to NixOSIssues or PRs affecting NixOS modules, or package usability issues specific to NixOS
Description
Describe the bug
The hardware.video.hidpi.enable option, which nixos-generate-config enables by default on high-resolution displays like my 4K laptop screen, is supposed to set the console font within the initrd before displaying the LUKS password prompt. However, with boot.initrd.systemd.enable, this does not happen until stage 2, so the prompt is tiny.
Steps To Reproduce
Enable hardware.video.hidpi.enable = true, boot.initrd.systemd.enable = true, and LUKS encryption.
Expected behavior
The console font should be switched before the LUKS password prompt, not after.
Notify maintainers
Metadata
- system: `"x86_64-linux"`
- host os: `Linux 5.17.5, NixOS, 22.05 (Quokka), 22.05.git.804685b6c8d`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.8.0`
- channels(root): `"nixos"`
- nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
0.kind: bugSomething is brokenSomething is broken6.topic: nixosIssues or PRs affecting NixOS modules, or package usability issues specific to NixOSIssues or PRs affecting NixOS modules, or package usability issues specific to NixOS
Projects
Status
Done