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" = {
device = "/dev/disk/by-label/NIX_BOOT";
fsType = "vfat";

View File

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

View File

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

View File

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

View File

@ -23,8 +23,6 @@
# 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
timeout = 0;
efi.canTouchEfiVariables = true;
efi.efiSysMountPoint = "/boot/efi";
systemd-boot = {
enable = true;
# editor = false;