[microvm] fix typo

This commit is contained in:
2024-11-26 12:58:45 +01:00
parent ad2edf017a
commit b39a9398f0

View File

@@ -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}
''; '';