bakunin to master #37

Merged
kalipso merged 5 commits from staging into master 2024-11-26 14:51:00 +01:00
Showing only changes of commit b39a9398f0 - Show all commits

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