From 1ef83b030f7d1851d24f7d34a3f7fa273dc12d5b Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Mon, 15 Jan 2024 08:51:16 +0100 Subject: [PATCH] Try with a label for luks --- modules/hardware/raspi4/raspi-base.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/hardware/raspi4/raspi-base.nix b/modules/hardware/raspi4/raspi-base.nix index abc6c44..7c86d22 100644 --- a/modules/hardware/raspi4/raspi-base.nix +++ b/modules/hardware/raspi4/raspi-base.nix @@ -93,7 +93,7 @@ in { ]; initrd.luks.devices."cryptsd" = { - device = "/dev/mmcblk1p2"; + device = "/dev/disk/by-label/cryptroot"; allowDiscards = true; # required for TRIM }; loader = { systemd-boot.enable = true; };