2023-06-19 01:36:50 -04:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
boot = {
|
2023-06-26 17:29:17 -04:00
|
|
|
kernelPackages = pkgs.linuxPackages_latest;
|
2023-06-19 01:36:50 -04:00
|
|
|
consoleLogLevel = 0;
|
|
|
|
initrd.verbose = false;
|
|
|
|
initrd.systemd.enable = true;
|
|
|
|
|
|
|
|
loader = {
|
|
|
|
efi.canTouchEfiVariables = true;
|
|
|
|
grub = {
|
|
|
|
enable = true;
|
|
|
|
device = "nodev";
|
|
|
|
efiSupport = true;
|
|
|
|
extraConfig = ''
|
|
|
|
set timeout_style=hidden
|
|
|
|
'';
|
|
|
|
# Because it still draws that image otherwise
|
|
|
|
splashImage = null;
|
|
|
|
};
|
|
|
|
timeout = 2;
|
|
|
|
};
|
|
|
|
|
2023-09-12 08:02:35 -04:00
|
|
|
kernelModules = [ "kvm-amd" ];
|
|
|
|
|
2023-06-19 01:36:50 -04:00
|
|
|
kernelParams = [
|
|
|
|
"quiet"
|
|
|
|
"splash"
|
|
|
|
"boot.shell_on_fail"
|
|
|
|
"i915.fastboot=1"
|
|
|
|
"loglevel=3"
|
|
|
|
"rd.systemd.show_status=false"
|
|
|
|
"rd.udev.log_level=3"
|
|
|
|
"udev.log_priority=3"
|
|
|
|
"cryptdevice=UUID=ab82b477-2477-453f-b95f-28e5553ad10d:root"
|
|
|
|
"root=/dev/mapper/root"
|
|
|
|
];
|
|
|
|
|
|
|
|
plymouth = {
|
|
|
|
enable = true;
|
2023-07-15 00:45:09 -04:00
|
|
|
#themePackages = [ pkgs.catppuccin-plymouth ];
|
|
|
|
#theme = "catppuccin-macchiato";
|
2023-07-15 17:47:37 -04:00
|
|
|
themePackages = [ pkgs.dracula-plymouth ];
|
2023-07-15 00:45:09 -04:00
|
|
|
theme = "dracula";
|
2023-06-19 01:36:50 -04:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|