another fix for swap devices

This commit is contained in:
Motiejus Jakštys 2023-09-13 15:18:25 +03:00
parent e617dbf55f
commit 182a87b0b9

View File

@ -18,12 +18,13 @@
bootPool = "-part2"; bootPool = "-part2";
rootPool = "-part4"; rootPool = "-part4";
}; };
swapDevices = ["/dev/zvol/rpool/swap"];
}; };
}; };
boot.binfmt.emulatedSystems = ["aarch64-linux"]; boot.binfmt.emulatedSystems = ["aarch64-linux"];
swapDevices = [{device = "/dev/zvol/rpool/swap";}];
boot.loader.grub.extraEntries = '' boot.loader.grub.extraEntries = ''
menuentry "Debian via bpool label" { menuentry "Debian via bpool label" {
search --set=bpool --label bpool search --set=bpool --label bpool