From f5fd9b718726f9bff48d26cd17211430f727d7b1 Mon Sep 17 00:00:00 2001 From: NullBite Date: Fri, 5 Jul 2024 02:21:19 -0400 Subject: [PATCH] slab: enable systemd initrd and plymouth --- hosts/slab/configuration.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/hosts/slab/configuration.nix b/hosts/slab/configuration.nix index ee620d7..4ef3006 100644 --- a/hosts/slab/configuration.nix +++ b/hosts/slab/configuration.nix @@ -74,12 +74,17 @@ networking.hostName = "slab"; + boot.initrd.systemd.enable = true; + + boot.plymouth.enable = true; + boot.kernelParams = [ "quiet" ]; + # cryptsetup boot.initrd.luks.devices = { lvmroot = { device="/dev/disk/by-uuid/2872c0f0-e544-45f0-9b6c-ea022af7805a"; allowDiscards = true; - fallbackToPassword = true; + fallbackToPassword = lib.mkIf (!config.boot.initrd.systemd.enable) true; preLVM = true; }; };