mirror of
https://github.com/nix-community/disko.git
synced 2026-12-01 05:23:28 +01:00
make-disk-image: allow extra dependencies to be passed into image builder
This commit is contained in:
1 parent
bb75ad0b1d
commit
4c4634bbcb
2 files changed
+8
-1
No files matched your search
@@ -27,7 +27,7 @@ let
|
||||
systemdMinimal
|
||||
nix
|
||||
util-linux
|
||||
];
|
||||
] ++ nixosConfig.config.disko.extraDependencies;
|
||||
preVM = ''
|
||||
${lib.concatMapStringsSep "\n" (disk: "truncate -s ${disk.imageSize} ${disk.name}.raw") (lib.attrValues nixosConfig.config.disko.devices.disk)}
|
||||
'';
|
||||
|
||||
Reference in new issue
Block a user