Commit 09d221242ad5

Vincent Demeester <vincent@sbr.pm>
2022-06-24 11:02:42
systems/aomi: trying to fix boot…
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 375207c
Changed files (2)
systems
systems/hardware/lenovo-p1.nix
@@ -9,7 +9,7 @@
     ./thinkpad.nix
   ];
   boot = {
-    initrd.availableKernelModules = [ "nvme" "rtsx_pci_sdmmc" ];
+    initrd.availableKernelModules = [ "nvme" "rtsx_pci_sdmmc" "thunderbolt" "dm-mod" ];
   };
   hardware = {
     enableAllFirmware = true;
systems/hosts/aomi.nix
@@ -26,13 +26,6 @@ in
     (import ../../users).root
   ];
 
-  fileSystems."/" = {
-    # device = "/dev/disk/by-uuid/6bedd234-3179-46f7-9a3f-feeffd880791";
-    device = "/dev/vg/root";
-    fsType = "ext4";
-    options = [ "noatime" "discard" ];
-  };
-
   boot.initrd.luks.devices = {
     root = {
       device = "/dev/disk/by-uuid/91b05f64-b97d-4405-8405-8785699ada8f";
@@ -44,6 +37,13 @@ in
     };
   };
 
+  fileSystems."/" = {
+    # device = "/dev/disk/by-uuid/6bedd234-3179-46f7-9a3f-feeffd880791";
+    device = "/dev/mapper/root";
+    fsType = "ext4";
+    options = [ "noatime" "discard" ];
+  };
+
   fileSystems."/boot" = {
     device = "/dev/disk/by-uuid/32B9-94CC";
     fsType = "vfat";