mirror of
https://github.com/nix-community/disko.git
synced 2026-12-02 14:03:28 +01:00
add pkgs.parted where partprobe is needed
This commit is contained in:
1 parent
7304727801
commit
79785c1cfc
4 files changed
+14
-4
No files matched your search
@@ -18,9 +18,10 @@ let
|
||||
bash
|
||||
coreutils
|
||||
gnused
|
||||
parted # for partprobe
|
||||
systemdMinimal
|
||||
nix
|
||||
utillinux
|
||||
util-linux
|
||||
];
|
||||
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