Merge pull request #935 from nix-community/install-grub-devs

install-cli: use disks from diskMappings arg for grub devices
This commit is contained in:
Jörg Thalheim authored and GitHub committed 2025-01-10 17:32:08 +01:00
commit b1a94497b1
1 file changed
+1 -1
+1 -1
View File
@@ -51,7 +51,7 @@ let
{ lib, ... }:
{
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 = [
({ _file = "disko-install --system-config"; } // (builtins.fromJSON extraSystemConfig))
];