diff options
| author | Henry J. Webster <hwebs@hwebs.info> | 2026-07-30 15:40:30 -0500 |
|---|---|---|
| committer | Henry J. Webster <hwebs@hwebs.info> | 2026-07-30 15:40:30 -0500 |
| commit | 46fe13725b071037b86814532bbebbb6e2cf366a (patch) | |
| tree | 8cfebf26d054f1a9f9506061446caf6a15cd8e56 | |
| parent | c21e1e3b6029a906beaa96192fb9e6c847510e95 (diff) | |
enzo: early-KMS amdgpu so greeter uses the console font
Load amdgpu in the initrd so the native mode is set before the console
font is applied. Previously amdgpu loaded late and reset the fbcon to the
kernel 8x16 font, leaving the greeter with the wrong tiny font while
Terminus only survived in the pre-driver LUKS prompt.
Assisted-by: Claude:claude-opus-4-8
| -rw-r--r-- | machines/enzo/default.nix | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/machines/enzo/default.nix b/machines/enzo/default.nix index e4b86c9..0e9d6e4 100644 --- a/machines/enzo/default.nix +++ b/machines/enzo/default.nix @@ -91,8 +91,12 @@ hardware.acpilight.enable = true; environment.systemPackages = [ pkgs.brightnessctl ]; - # --- GPU --- - # TODO: adjust for the laptop's actual GPU once known. For an Intel iGPU add - # intel-media-driver to hardware.graphics.extraPackages; for a discrete AMD - # GPU you may want ROCm as in machines/kusanagi/default.nix. + # --- GPU (AMD integrated) --- + # Load amdgpu in the initrd (early KMS) so the native mode is set before the + # console font is applied. Otherwise amdgpu loads late, resets the fbcon to + # the kernel's 8x16 font, and the greeter shows the wrong (tiny) font while + # the Terminus font only survives in the pre-driver LUKS prompt. + # (Merges with the dm-snapshot entry in hardware-configuration.nix. If the + # driver check shows `radeon` instead of `amdgpu`, swap the name.) + boot.initrd.kernelModules = [ "amdgpu" ]; } |
