mirror of
https://github.com/nix-community/disko.git
synced 2026-12-02 05:53:28 +01:00
install-cli: use disks from diskMappings arg for grub devices
This commit is contained in:
1 parent
b9ca21dc6c
commit
b64dddf61b
1 file changed
+1
-1
+1
-1
@@ -51,7 +51,7 @@ let
|
|||||||
{ lib, ... }:
|
{ lib, ... }:
|
||||||
{
|
{
|
||||||
boot.loader.efi.canTouchEfiVariables = lib.mkVMOverride writeEfiBootEntries;
|
boot.loader.efi.canTouchEfiVariables = lib.mkVMOverride writeEfiBootEntries;
|
||||||
boot.loader.grub.devices = lib.mkVMOverride diskoSystem.config.boot.loader.grub.devices;
|
boot.loader.grub.devices = lib.mkVMOverride (lib.attrValues diskMappings);
|
||||||
imports = [
|
imports = [
|
||||||
({ _file = "disko-install --system-config"; } // (builtins.fromJSON extraSystemConfig))
|
({ _file = "disko-install --system-config"; } // (builtins.fromJSON extraSystemConfig))
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in new issue
Block a user