utils.nix: pass all attrs

Fixes passing baseRtc and other parameters
This commit is contained in:
Astro 2023-06-26 15:48:34 +02:00
parent ec1c08956b
commit 8051ad647a
2 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@
, qemuMem ? "4G"
, efi ? true
, enableTpm ? false
, ...
}:
rec {

View File

@ -14,7 +14,7 @@
let
lib = pkgs.lib;
utils = import ./utils.nix { inherit pkgs efi enableTpm; };
utils = import ./utils.nix ({ inherit pkgs efi enableTpm; } // attrs);
inherit (pkgs) guestfs-tools;
# p7zip on >20.03 has known vulns but we have no better option