Compare commits

...

2 Commits

Author SHA1 Message Date
8051ad647a utils.nix: pass all attrs
Fixes passing baseRtc and other parameters
2023-06-26 15:48:34 +02:00
ec1c08956b default.nix: remove superfluous parentheses 2023-06-26 15:48:18 +02:00
3 changed files with 4 additions and 3 deletions

View File

@ -2,6 +2,6 @@
{ {
makeWindowsImage = attrs: import ./win.nix ({ inherit pkgs; } // attrs); makeWindowsImage = attrs: import ./win.nix ({ inherit pkgs; } // attrs);
layers = (import ./layers { inherit pkgs; }); layers = import ./layers { inherit pkgs; };
utils = (import ./utils.nix { inherit pkgs; }); utils = import ./utils.nix { inherit pkgs; };
} }

View File

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

View File

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