summaryrefslogtreecommitdiff
path: root/machines/enzo/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'machines/enzo/default.nix')
-rw-r--r--machines/enzo/default.nix12
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" ];
}