restart zfs-import service on failure

This commit is contained in:
Jörg Thalheim 2024-07-12 00:45:42 +02:00 committed by Jörg Thalheim
parent c1411ee3fc
commit 3c6dda8785

View file

@ -13,6 +13,9 @@
efiInstallAsRemovable = true;
};
# Sometimes fails after the first try, with duplicate pool name errors
boot.initrd.systemd.services.zfs-import-zroot.serviceConfig.Restart = "on-failure";
disko.devices = {
disk = {
nvme0n1 = {