hosts/dandelion: store esp in boot/efi to allow for kernel files

This commit is contained in:
LavaDesu 2024-07-24 13:35:59 +10:00
parent ef15c4ca20
commit 2b3d6fb3d7
Signed by: cilly
GPG key ID: 6500251E087653C9
2 changed files with 3 additions and 1 deletions

View file

@ -25,7 +25,7 @@ in {
options = [ "defaults" "size=12G" "mode=755" ]; options = [ "defaults" "size=12G" "mode=755" ];
}; };
"/boot" = mkLabelMount "UEFI" "vfat" true; "/boot/efi" = mkLabelMount "UEFI" "vfat" true;
"/nix" = submount "/@/nix" false; "/nix" = submount "/@/nix" false;
"/persist" = (submount "/@/persist" true) // { neededForBoot = true; }; "/persist" = (submount "/@/persist" true) // { neededForBoot = true; };
"/persist/.snapshots" = submount "/snap/persist" false; "/persist/.snapshots" = submount "/snap/persist" false;

View file

@ -3,8 +3,10 @@
loader = { loader = {
systemd-boot.enable = false; systemd-boot.enable = false;
efi.canTouchEfiVariables = true; efi.canTouchEfiVariables = true;
efi.efiSysMountPoint = "/boot/efi";
grub = { grub = {
enable = true; enable = true;
efiSupport = true;
device = "/dev/sda"; device = "/dev/sda";
}; };
}; };