fix(gampo): early video drivers load

This commit is contained in:
phundrak committed 2026-01-25 05:03:13 +01:00
1 parent 5c9c3d199b
commit 36d5c90017
2 files changed
+5 -2

No files matched your search

+5 -1
View File
@@ -59,7 +59,11 @@ in {
};
config.boot = {
initrd.kernelModules = lists.optional config.mySystem.hardware.amdgpu.enable "amdgpu";
initrd.kernelModules = lib.lists.singleton (
if config.mySystem.hardware.amdgpu.enable
then "amdgpu"
else "i915"
);
loader = {
systemd-boot.enable = cfg.systemd-boot;
efi.canTouchEfiVariables = cfg.systemd-boot;