feat(callisto): add plymouth boot sequence

This commit is contained in:
Youwen Wu 2024-11-06 23:37:11 -08:00
parent 968cddce52
commit ce8d4815f7
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3

View file

@ -4,6 +4,7 @@
{
inputs,
pkgs,
config,
...
}:
{
@ -24,8 +25,29 @@
}
);
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = false;
boot = {
loader.systemd-boot.enable = true;
loader.efi.canTouchEfiVariables = false;
plymouth = {
enable = true;
font = "${config.stylix.fonts.monospace.package}/share/fonts/truetype/NerdFonts/CaskaydiaCoveNerdFontMono-Regular.ttf";
};
consoleLogLevel = 3;
initrd.verbose = false;
kernelParams = [
"quiet"
"splash"
"boot.shell_on_fail"
"rd.systemd.show_status=false"
"rd.udev.log_level=3"
"udev.log_priority=3"
"apple_dcp.show_notch=1"
];
extraModprobeConfig = ''
options hid_apple iso_layout=0
'';
initrd.systemd.enable = true;
};
hardware.asahi = {
peripheralFirmwareDirectory = "${inputs.apple-firmware}/firmware";
@ -33,12 +55,6 @@
experimentalGPUInstallMode = "overlay";
};
boot.extraModprobeConfig = ''
options hid_apple iso_layout=0
'';
boot.kernelParams = [ "apple_dcp.show_notch=1" ];
networking.hostName = "callisto"; # Define your hostname.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.