trying to fix /boot/efi grub install error - smth about inappro. ioctl or some such thing

This commit is contained in:
serenity-F 2024-09-11 12:15:01 +10:00
parent 31b221b197
commit d4c8e85f70

View file

@ -18,34 +18,29 @@
"/boot/crypto_keyfile.bin" = null;
};
luks = {
devices."luks-3de671ef-22a3-4f28-9251-a0687ab44f96".device = "/dev/disk/by-uuid/3de671ef-22a3-4f28-9251-a0687ab44f96";
#devices."luks-3de671ef-22a3-4f28-9251-a0687ab44f96".keyFile = "/boot/crypto_keyfile.bin";
# device = "/dev/disk/by-uuid/DISK_UUID";
# keyfile = "/crypto_keyfile.bin";
devices."luks-3de671ef-22a3-4f28-9251-a0687ab44f96" = {
device = "/dev/disk/by-uuid/3de671ef-22a3-4f28-9251-a0687ab44f96";
#keyFile = "/boot/crypto_keyfile.bin";
};
};
};
loader = {
efi = {
canTouchEfiVariables = true;
efiSysMountPoint = "/boot/efi";
#efiSysMountPoint = "/boot/efi";
};
#systemd-boot = {
#enable = false;
#configurationLimit = 10;
#};
grub = {
enable = true;
efiSupport = true;
#efiSupport = true;
#efiInstallAsRemovable = true;
device = "/dev/sda";
useOSProber = true;
#useOSProber = true;
enableCryptodisk = true;
};
};
};