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);
layers = (import ./layers { inherit pkgs; });
utils = (import ./utils.nix { inherit pkgs; });
layers = import ./layers { inherit pkgs; };
utils = import ./utils.nix { inherit pkgs; };
}

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