disko-install: add --disko-system-config parameter

This commit is contained in:
lassulus committed 2025-01-18 00:54:28 +01:00
1 parent bf0abfde48
commit d4a2a6f8bb
2 files changed
+13

No files matched your search

+4
View File
@@ -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))
];
}
];
};