add nix to the microvm creation unit

This commit is contained in:
oxapentane - 2023-05-01 06:21:49 +02:00
parent e2f260f856
commit d650783084
Signed by: oxapentane
GPG Key ID: 91FA5E5BF9AA901C
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ in
];
unitConfig.ConditionPathExists = "!/var/lib/microvms/${name}";
serviceConfig.Type = "oneshot";
path = [ pkgs.git ];
path = with pkgs; [ nix git ];
environment.HOME = config.users.users.root.home;
scriptArgs = "${name}";
script = ''