1{ pkgs, ... }:
2{
3 boot = {
4 kernelPackages = pkgs.linuxPackages_7_0; # _zen, _hardened, _rt, _rt_latest, etc.
5 loader = {
6 efi = {
7 canTouchEfiVariables = true;
8 # assuming /boot is the mount point of the EFI partition in NixOS (as the installation section recommends).
9 efiSysMountPoint = "/boot/efi";
10 };
11 grub = {
12 enable = true;
13 device = "nodev";
14 # theme = pkgs.catppuccin-grub;
15 useOSProber = true;
16 efiSupport = true;
17 };
18 };
19
20 #this is set to false by default for some reason
21 tmp.cleanOnBoot = true;
22
23 # Make boot screen quiet
24 kernelParams = [
25 "quiet"
26 "splash"
27 "rd.systemd.show_status=auto"
28 "rd.udev.log_level=3"
29 "udev.log_priority=3"
30 ];
31 consoleLogLevel = 0;
32 initrd.verbose = false;
33 };
34}