Commit 62ec896c6623

Vincent Demeester <vincent@sbr.pm>
2025-06-16 16:05:56
systems/kobe: trying to make cryptroot unlock work
For some reason, tpm2 is not available there. Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent be27591
Changed files (1)
systems
systems/kobe/boot.nix
@@ -17,13 +17,17 @@
       enable = true;
       pkiBundle = "/var/lib/sbctl";
     };
+    initrd.availableKernelModules = [
+      "nvme"
+      "rtsx_pci_sdmmc"
+      "thunderbolt"
+      "dm-mod"
+    ];
     # loader.systemd-boot.netbootxyz.enable = true;
-    # initrd = {
-    #   luks.devices."cryptroot" = {
-    #     keyFile = "/dev/disk/by-id/mmc-SD08G_0x704a5a38";
-    #     keyFileSize = 4096;
-    #   };
-    # };
+    initrd.luks.devices."cryptroot" = {
+      keyFile = "/dev/disk/by-id/mmc-SD08G_0x704a5a38";
+      keyFileSize = 4096;
+    };
 
     blacklistedKernelModules = [
       "sierra_net" # sierra wireless modules