Commit 7a1c0ac63496

Vincent Demeester <vincent@sbr.pm>
2024-09-05 00:50:42
systems/wakasu: playing around with plymouth
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent a8a672b
Changed files (1)
systems
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;