feat: add fancy boot animations; fix ichiyo's boot process

This commit is contained in:
Ahwx 2025-01-07 09:58:12 +01:00
parent 72c75ba404
commit b706836944

View file

@ -5,6 +5,9 @@
./../../modules/core ./../../modules/core
]; ];
# Enable fancy boot animations
boot.plymouth.enable = true;
powerManagement = { powerManagement = {
enable = true; enable = true;
# powertop.enable = true; # powertop.enable = true;
@ -14,18 +17,17 @@
liv.laptop.enable = true; liv.laptop.enable = true;
# Bootloader stuff # Bootloader stuff
boot.loader.grub.enable = lib.mkForce true; boot = {
boot.loader.grub.device = lib.mkForce "/dev/sda"; loader.grub = {
boot.loader.grub.useOSProber = lib.mkForce true; enable = lib.mkForce true;
boot.initrd.secrets = { device = lib.mkForce "/dev/sda";
enableCryptodisk = lib.mkForce true;
useOSProber = lib.mkForce true;
};
initrd.secrets = {
"/crypto_keyfile.bin" = null; "/crypto_keyfile.bin" = null;
}; };
boot.loader.grub.enableCryptodisk = lib.mkForce true; initrd.luks.devices."luks-729500c5-557b-45c8-ab3f-5c365db28284".keyFile = lib.mkForce "/crypto_keyfile.bin";
boot.initrd.luks.devices."luks-729500c5-557b-45c8-ab3f-5c365db28284".keyFile = lib.mkForce "/crypto_keyfile.bin";
networking.hostName = "ichiyo";
boot = {
extraModulePackages = with config.boot.kernelPackages; extraModulePackages = with config.boot.kernelPackages;
[ [
acpi_call acpi_call
@ -33,4 +35,6 @@
] ]
++ [pkgs.cpupower-gui]; ++ [pkgs.cpupower-gui];
}; };
networking.hostName = "ichiyo";
} }