From b706836944ca47fbbc405723aab2f82d2c9a5790 Mon Sep 17 00:00:00 2001 From: Ahwx Date: Tue, 7 Jan 2025 09:58:12 +0100 Subject: [PATCH] feat: add fancy boot animations; fix ichiyo's boot process --- hosts/ichiyo/default.nix | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/hosts/ichiyo/default.nix b/hosts/ichiyo/default.nix index c38c5e8..a16aed7 100644 --- a/hosts/ichiyo/default.nix +++ b/hosts/ichiyo/default.nix @@ -4,6 +4,9 @@ ./hardware-configuration.nix ./../../modules/core ]; + + # Enable fancy boot animations + boot.plymouth.enable = true; powerManagement = { enable = true; @@ -14,18 +17,17 @@ liv.laptop.enable = true; # Bootloader stuff - boot.loader.grub.enable = lib.mkForce true; - boot.loader.grub.device = lib.mkForce "/dev/sda"; - boot.loader.grub.useOSProber = lib.mkForce true; - boot.initrd.secrets = { - "/crypto_keyfile.bin" = null; - }; - boot.loader.grub.enableCryptodisk = lib.mkForce true; - boot.initrd.luks.devices."luks-729500c5-557b-45c8-ab3f-5c365db28284".keyFile = lib.mkForce "/crypto_keyfile.bin"; - - networking.hostName = "ichiyo"; - boot = { + loader.grub = { + enable = lib.mkForce true; + device = lib.mkForce "/dev/sda"; + enableCryptodisk = lib.mkForce true; + useOSProber = lib.mkForce true; + }; + initrd.secrets = { + "/crypto_keyfile.bin" = null; + }; + initrd.luks.devices."luks-729500c5-557b-45c8-ab3f-5c365db28284".keyFile = lib.mkForce "/crypto_keyfile.bin"; extraModulePackages = with config.boot.kernelPackages; [ acpi_call @@ -33,4 +35,6 @@ ] ++ [pkgs.cpupower-gui]; }; + + networking.hostName = "ichiyo"; }