From 1508d9a6acd1b1babfb028098773a2482333cb69 Mon Sep 17 00:00:00 2001 From: Vinzenz Schroeter Date: Sun, 17 Sep 2023 15:20:45 +0200 Subject: [PATCH] zen kernel and quiet boot --- modules/hardware/common-desktop.nix | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/modules/hardware/common-desktop.nix b/modules/hardware/common-desktop.nix index 2750bbf..0e54918 100644 --- a/modules/hardware/common-desktop.nix +++ b/modules/hardware/common-desktop.nix @@ -1,8 +1,16 @@ -{lib, ...}: { +{ + lib, + pkgs, + ... +}: { config = { - boot.loader = { - systemd-boot.enable = true; - efi.canTouchEfiVariables = true; + boot = { + kernelPackages = pkgs.linuxPackages_zen; + kernelParams = ["quiet" "loglevel=3"]; + loader = { + systemd-boot.enable = true; + efi.canTouchEfiVariables = true; + }; }; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking