improve console setup on boot

This commit is contained in:
Christoph Cullmann 2023-06-02 23:53:02 +02:00
parent f9639193ed
commit 64171f5849
2 changed files with 10 additions and 1 deletions

View file

@ -30,6 +30,15 @@ in
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.efi.efiSysMountPoint = "/boot";
# use a high resolution
boot.loader.systemd-boot.consoleMode = "max";
# use systemd early
boot.initrd.systemd.enable = true;
# setup the console stuff early
console.earlySetup = true;
# zfs & NTFS for Windows stuff
boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
boot.supportedFilesystems = [ "zfs" "ntfs" ];

View file

@ -9,7 +9,7 @@
];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.initrd.kernelModules = [ "i915" ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];