summaryrefslogtreecommitdiff
path: root/sys/boot/efi.nix
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot/efi.nix')
-rw-r--r--sys/boot/efi.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/boot/efi.nix b/sys/boot/efi.nix
index 71c42c8..0abd7a9 100644
--- a/sys/boot/efi.nix
+++ b/sys/boot/efi.nix
@@ -1,6 +1,7 @@
{
config,
lib,
+ pkgs,
...
}:
with lib; let
@@ -39,6 +40,10 @@ in {
};
};
+ environment.systemPackages = [
+ pkgs.efibootmgr
+ ];
+
fileSystems.${cfg.esp.mountpoint} = {
device = "/dev/disk/by-uuid/${cfg.esp.uuid}";
fsType = "vfat";