mirror of
https://github.com/nix-community/disko.git
synced 2026-12-01 13:33:28 +01:00
disko-install: add --disko-system-config parameter
This commit is contained in:
1 parent
bf0abfde48
commit
d4a2a6f8bb
2 files changed
+13
No files matched your search
@@ -2,6 +2,7 @@
|
||||
, flakeAttr
|
||||
, diskMappings
|
||||
, extraSystemConfig ? "{}"
|
||||
, extraDiskoSystemConfig ? "{}"
|
||||
, writeEfiBootEntries ? false
|
||||
, rootMountPoint ? "/mnt"
|
||||
,
|
||||
@@ -41,6 +42,9 @@ let
|
||||
{
|
||||
disko.rootMountPoint = rootMountPoint;
|
||||
disko.devices.disk = lib.mkVMOverride cleanedDisks;
|
||||
imports = [
|
||||
({ _file = "disko-install --system-config"; } // (builtins.fromJSON extraDiskoSystemConfig))
|
||||
];
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user