From d4c8e85f700efe40248fd175a8d700f494c82a85 Mon Sep 17 00:00:00 2001 From: serenity-F Date: Wed, 11 Sep 2024 12:15:01 +1000 Subject: [PATCH] trying to fix /boot/efi grub install error - smth about inappro. `ioctl` or some such thing --- hosts/hades/boot-config.nix | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/hosts/hades/boot-config.nix b/hosts/hades/boot-config.nix index 944bb61..f3e709f 100644 --- a/hosts/hades/boot-config.nix +++ b/hosts/hades/boot-config.nix @@ -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; - }; - + }; }; };