mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-15 17:34:04 +00:00
17 lines
293 B
Nix
17 lines
293 B
Nix
|
{ nixos
|
||
|
, nixpkgs
|
||
|
, services ? "/etc/nixos/services"
|
||
|
, system ? builtins.currentSystem
|
||
|
, networkExpr
|
||
|
, useBackdoor ? false
|
||
|
}:
|
||
|
|
||
|
let nodes = import networkExpr;
|
||
|
in
|
||
|
(import "${nixos}/lib/build-vms.nix" {
|
||
|
inherit nixpkgs services system useBackdoor;
|
||
|
})
|
||
|
.buildVirtualNetwork {
|
||
|
inherit nodes;
|
||
|
}
|