use disk id instead of mmcblk

This commit is contained in:
William 2025-08-04 10:13:13 -03:00
parent 020e362592
commit 4d27ab9902

View file

@ -19,9 +19,6 @@
]; ];
}; };
kernelModules = [ "kvm-intel" ]; kernelModules = [ "kvm-intel" ];
luks.devices.cryptroot = {
device = "/dev/mmcblk1p3";
};
}; };
zramSwap = { zramSwap = {
@ -41,7 +38,7 @@
disk = { disk = {
main = { main = {
type = "disk"; type = "disk";
device = "/dev/mmcblk1"; device = "/dev/disk/by-id/mmc-hDEaP3_0x1041b689";
content = { content = {
type = "gpt"; type = "gpt";
partitions = { partitions = {