Set efi system partition

This commit is contained in:
Leonardo Eugênio 2022-12-21 23:19:36 -03:00
parent 42456998b6
commit b55f21ebe8
5 changed files with 4 additions and 2 deletions

View file

@ -20,6 +20,7 @@ in {
}; };
}; };
boot.loader.efi.efiSysMountPoint = "/boot/efi";
fileSystems."/boot/efi" = { fileSystems."/boot/efi" = {
device = "/dev/disk/by-label/NIX_BOOT"; device = "/dev/disk/by-label/NIX_BOOT";
fsType = "vfat"; fsType = "vfat";

View file

@ -42,6 +42,7 @@ in {
device = "/dev/disk/by-label/CRYPT_DATA"; device = "/dev/disk/by-label/CRYPT_DATA";
}; };
}; };
boot.loader.efi.efiSysMountPoint = "/boot/efi";
fileSystems."/boot/efi" = { fileSystems."/boot/efi" = {
device = "/dev/disk/by-label/NIXBOOT"; device = "/dev/disk/by-label/NIXBOOT";
fsType = "vfat"; fsType = "vfat";

View file

@ -27,6 +27,7 @@
options = [ "subvol=home" ]; options = [ "subvol=home" ];
}; };
boot.loader.efi.efiSysMountPoint = "/boot/efi";
fileSystems."/boot/efi" = { fileSystems."/boot/efi" = {
device = "/dev/disk/by-uuid/B1BB-15DD"; device = "/dev/disk/by-uuid/B1BB-15DD";
fsType = "vfat"; fsType = "vfat";

View file

@ -33,6 +33,7 @@ in {
options = [ "subvol=@home" ] ++ btrfs_options ++ btrfs_ssd; options = [ "subvol=@home" ] ++ btrfs_options ++ btrfs_ssd;
}; };
boot.loader.efi.efiSysMountPoint = "/boot/efi";
fileSystems."/boot/efi" = { fileSystems."/boot/efi" = {
device = "/dev/disk/by-uuid/DC3B-5753"; device = "/dev/disk/by-uuid/DC3B-5753";
fsType = "vfat"; fsType = "vfat";

View file

@ -23,8 +23,6 @@
# It's still possible to open the bootloader list by pressing any key # It's still possible to open the bootloader list by pressing any key
# It will just not appear on screen unless a key is pressed # It will just not appear on screen unless a key is pressed
timeout = 0; timeout = 0;
efi.canTouchEfiVariables = true;
efi.efiSysMountPoint = "/boot/efi";
systemd-boot = { systemd-boot = {
enable = true; enable = true;
# editor = false; # editor = false;