forked from kalipso/infrastructure
[microvm] fix typo
This commit is contained in:
@@ -75,7 +75,7 @@ in
|
|||||||
|
|
||||||
microvm.vms =
|
microvm.vms =
|
||||||
let
|
let
|
||||||
# Map the values to each hostname to then generate a Attrs using listToAttrs
|
# Map the values to each hostname to then generate an Attrset using listToAttrs
|
||||||
mapperFunc = name: { inherit name; value = {
|
mapperFunc = name: { inherit name; value = {
|
||||||
# Host build-time reference to where the MicroVM NixOS is defined
|
# Host build-time reference to where the MicroVM NixOS is defined
|
||||||
# under nixosConfigurations
|
# under nixosConfigurations
|
||||||
@@ -98,7 +98,6 @@ in
|
|||||||
};
|
};
|
||||||
path = with pkgs; [ nix git ];
|
path = with pkgs; [ nix git ];
|
||||||
environment.HOME = config.users.users.root.home;
|
environment.HOME = config.users.users.root.home;
|
||||||
scriptArgs = "%i";
|
|
||||||
script = ''
|
script = ''
|
||||||
/run/current-system/sw/bin/microvm -Ru ${name}
|
/run/current-system/sw/bin/microvm -Ru ${name}
|
||||||
'';
|
'';
|
||||||
|
|||||||
Reference in New Issue
Block a user