new stuff
This commit is contained in:
@@ -40,7 +40,7 @@ let
|
||||
] ++ extraOptions;
|
||||
};
|
||||
in lib.recursiveUpdate base overrides;
|
||||
vmBuilder = { name, vm }: (import "${pkgs.path}/nixos/lib/eval-config.nix" {
|
||||
vmBuilder = { name, vm }: ((import "${pkgs.path}/nixos/lib/eval-config.nix" {
|
||||
system = "x86_64-linux";
|
||||
modules = [ vm.cfg
|
||||
({ config, lib, modulesPath, ... }: {
|
||||
@@ -65,7 +65,7 @@ let
|
||||
in if (vm ? portForward && vm.portForward != null) then map parsePortString vm.portForward else [];
|
||||
};})
|
||||
];
|
||||
}.config.system.build.vm);
|
||||
}).config.system.build.vm);
|
||||
in {
|
||||
mkContainer = contBuilder;
|
||||
mkVm = vmBuilder;
|
||||
|
||||
Reference in New Issue
Block a user