mirror of
https://github.com/nix-community/disko.git
synced 2026-11-30 21:13:28 +01:00
treewide: reformat with nix fmt
This commit is contained in:
1 parent
dd378f1d58
commit
804ab2de77
7 files changed
+31
-20
No files matched your search
@@ -82,9 +82,11 @@ let
|
||||
QEMU_OPTS = lib.concatStringsSep " " ([
|
||||
"-drive if=pflash,format=raw,unit=0,readonly=on,file=${pkgs.OVMF.firmware}"
|
||||
"-drive if=pflash,format=raw,unit=1,file=efivars.fd"
|
||||
] ++ builtins.map (disk:
|
||||
"-drive file=${disk.name}.raw,if=virtio,cache=unsafe,werror=report,format=raw"
|
||||
) (lib.attrValues nixosConfig.config.disko.devices.disk));
|
||||
] ++ builtins.map
|
||||
(disk:
|
||||
"-drive file=${disk.name}.raw,if=virtio,cache=unsafe,werror=report,format=raw"
|
||||
)
|
||||
(lib.attrValues nixosConfig.config.disko.devices.disk));
|
||||
in
|
||||
{
|
||||
pure = vmTools.runInLinuxVM (pkgs.runCommand name
|
||||
|
||||
Reference in new issue
Block a user