mirror of
https://github.com/nix-community/disko.git
synced 2026-12-01 13:33:28 +01:00
add efi var install option
This commit is contained in:
1 parent
f61c7d28d5
commit
3704ee3926
3 files changed
+24
-2
No files matched your search
+2
-2
@@ -1,7 +1,7 @@
|
||||
{ flake
|
||||
, flakeAttr
|
||||
, diskMappings
|
||||
, canTouchEfiVariables ? false
|
||||
, writeEfiBootEntries ? false
|
||||
, rootMountPoint ? "/mnt"
|
||||
}:
|
||||
let
|
||||
@@ -32,7 +32,7 @@ let
|
||||
};
|
||||
installSystem = originalSystem.extendModules {
|
||||
modules = [({ lib, ... }: {
|
||||
boot.loader.efi.canTouchEfiVariables = lib.mkVMOverride canTouchEfiVariables;
|
||||
boot.loader.efi.canTouchEfiVariables = lib.mkVMOverride writeEfiBootEntries;
|
||||
boot.loader.grub.devices = lib.mkVMOverride diskoSystem.config.boot.loader.grub.devices;
|
||||
})];
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user