slab: enable systemd initrd and plymouth
This commit is contained in:
parent
08c9e0d17a
commit
f5fd9b7187
@ -74,12 +74,17 @@
|
|||||||
|
|
||||||
networking.hostName = "slab";
|
networking.hostName = "slab";
|
||||||
|
|
||||||
|
boot.initrd.systemd.enable = true;
|
||||||
|
|
||||||
|
boot.plymouth.enable = true;
|
||||||
|
boot.kernelParams = [ "quiet" ];
|
||||||
|
|
||||||
# cryptsetup
|
# cryptsetup
|
||||||
boot.initrd.luks.devices = {
|
boot.initrd.luks.devices = {
|
||||||
lvmroot = {
|
lvmroot = {
|
||||||
device="/dev/disk/by-uuid/2872c0f0-e544-45f0-9b6c-ea022af7805a";
|
device="/dev/disk/by-uuid/2872c0f0-e544-45f0-9b6c-ea022af7805a";
|
||||||
allowDiscards = true;
|
allowDiscards = true;
|
||||||
fallbackToPassword = true;
|
fallbackToPassword = lib.mkIf (!config.boot.initrd.systemd.enable) true;
|
||||||
preLVM = true;
|
preLVM = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user