summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-05-03 22:53:49 +0530
committersinanmohd <sinan@sinanmohd.com>2024-05-04 19:34:57 +0530
commit74e9d9efb8e969083ac481da0fa71c753360c28f (patch)
treed39fb09502ca3a3919805ae57c5b8e3fc602d792
parentfccd443fd91eb8bf4fbc9c158f027edc64f951ff (diff)
cez/hardware/plymouth: init
-rw-r--r--nixos/cez/configuration.nix1
-rw-r--r--nixos/cez/hardware-configuration.nix15
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";
};