From 4d27ab9902910906a3dfd03e2b341c0afb5f42aa Mon Sep 17 00:00:00 2001 From: William Date: Mon, 4 Aug 2025 10:13:13 -0300 Subject: [PATCH] use disk id instead of mmcblk --- hosts/modules/io/hardware-configuration.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/hosts/modules/io/hardware-configuration.nix b/hosts/modules/io/hardware-configuration.nix index 7d73811..4497d99 100644 --- a/hosts/modules/io/hardware-configuration.nix +++ b/hosts/modules/io/hardware-configuration.nix @@ -19,9 +19,6 @@ ]; }; kernelModules = [ "kvm-intel" ]; - luks.devices.cryptroot = { - device = "/dev/mmcblk1p3"; - }; }; zramSwap = { @@ -41,7 +38,7 @@ disk = { main = { type = "disk"; - device = "/dev/mmcblk1"; + device = "/dev/disk/by-id/mmc-hDEaP3_0x1041b689"; content = { type = "gpt"; partitions = {