mirror of
https://github.com/nix-community/disko.git
synced 2026-12-01 05:23:28 +01:00
Change --system-option KEY VAL to --system-config JSON
Update install-cli.nix
This commit is contained in:
1 parent
9f5d4e45cd
commit
2ec3549b6f
2 files changed
+14
-27
No files matched your search
+5
-2
@@ -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))
|
||||
];
|
||||
}
|
||||
)
|
||||
];
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user