From 64171f58490fc5fbc718236ceda5b53d103eb0a2 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Fri, 2 Jun 2023 23:53:02 +0200 Subject: improve console setup on boot --- common.nix | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'common.nix') diff --git a/common.nix b/common.nix index 5486a24..b959dda 100644 --- a/common.nix +++ b/common.nix @@ -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" ]; -- cgit v1.2.3