home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

commit 7a1c0ac63496367f217fd1dabd6bb3b6334c4867
parent a8a672b36323e94e9ff549b4b8d5746b61f5aa90
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Thu,  5 Sep 2024 00:50:42 +0200

systems/wakasu: playing around with plymouth

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Msystems/hosts/wakasu.nix | 29++++++++++++++++-------------
1 file changed, 16 insertions(+), 13 deletions(-)

diff --git a/systems/hosts/wakasu.nix b/systems/hosts/wakasu.nix @@ -37,19 +37,6 @@ in options = [ "noatime" "discard" ]; }; - boot.initrd.luks.devices = { - root = { - device = "/dev/disk/by-uuid/c0cac87c-53ec-4262-9ab2-a3ee8331c75a"; - #device = "/dev/nvme0n1p1"; - preLVM = true; - allowDiscards = true; - keyFile = "/dev/disk/by-id/usb-_USB_DISK_2.0_070D375D84327E87-0:0"; - keyFileOffset = 30992883712; - keyFileSize = 4096; - fallbackToPassword = true; - }; - }; - fileSystems."/boot" = { device = "/dev/disk/by-uuid/7D17-F310"; fsType = "vfat"; @@ -65,7 +52,23 @@ in }; boot = { + initrd = { + luks.devices = { + root = { + device = "/dev/disk/by-uuid/c0cac87c-53ec-4262-9ab2-a3ee8331c75a"; + #device = "/dev/nvme0n1p1"; + preLVM = true; + allowDiscards = true; + keyFile = "/dev/disk/by-id/usb-_USB_DISK_2.0_070D375D84327E87-0:0"; + keyFileOffset = 30992883712; + keyFileSize = 4096; + # fallbackToPassword = true; + }; + }; + systemd.enable = true; + }; kernelPackages = pkgs.linuxPackages_latest; + kernelParams = ["splash" "quiet"]; }; hardware.sensor.iio.enable = true;