Change --system-option KEY VAL to --system-config JSON

Update install-cli.nix
This commit is contained in:
Qubasa authored and mergify[bot] committed 2024-04-29 14:57:02 +00:00
1 parent 9f5d4e45cd
commit 2ec3549b6f
2 files changed
+14 -27

No files matched your search

+5 -2
View File
@@ -1,7 +1,7 @@
{ flake
, flakeAttr
, diskMappings
, extraSystemConfig ? { }
, extraSystemConfig ? "{}"
, writeEfiBootEntries ? false
, rootMountPoint ? "/mnt"
,
@@ -52,7 +52,10 @@ let
{
boot.loader.efi.canTouchEfiVariables = lib.mkVMOverride writeEfiBootEntries;
boot.loader.grub.devices = lib.mkVMOverride diskoSystem.config.boot.loader.grub.devices;
} // extraSystemConfig
imports = [
({ _file = "disko-install --system-config"; } // (builtins.fromJSON extraSystemConfig))
];
}
)
];
};