From 74e9d9efb8e969083ac481da0fa71c753360c28f Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Fri, 3 May 2024 22:53:49 +0530 Subject: cez/hardware/plymouth: init --- nixos/cez/configuration.nix | 1 - nixos/cez/hardware-configuration.nix | 15 ++++++++++----- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/nixos/cez/configuration.nix b/nixos/cez/configuration.nix index 6a08b88..00e755a 100644 --- a/nixos/cez/configuration.nix +++ b/nixos/cez/configuration.nix @@ -17,7 +17,6 @@ in ]; boot = { - initrd.luks.reusePassphrases = true; consoleLogLevel = 3; kernelPackages = pkgs.linuxPackages_latest; }; diff --git a/nixos/cez/hardware-configuration.nix b/nixos/cez/hardware-configuration.nix index a2a31c0..b338df5 100644 --- a/nixos/cez/hardware-configuration.nix +++ b/nixos/cez/hardware-configuration.nix @@ -1,16 +1,21 @@ -{ modulesPath, ... }: +{ modulesPath, pkgs, ... }: { imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; boot = { - loader = { - systemd-boot.enable = true; - efi.canTouchEfiVariables = true; + kernelParams = [ "quiet" ]; + loader.systemd-boot.enable = true; + + plymouth = { + enable = true; + theme = "lone"; + themePackages = with pkgs; [ adi1090x-plymouth-themes ]; }; initrd = { - kernelModules = [ "amdgpu" "nvme" ]; + systemd.enable = true; + kernelModules = [ "amdgpu" ]; luks.devices."crypt".device = "/dev/disk/by-uuid/84acd784-caad-41a1-a2e4-39468d01fefd"; }; -- cgit v1.2.3