hw-generate: don't load nixos-install-tools on local machine

We only need this on the target. Our installer have it already.
This commit is contained in:
Jörg Thalheim
2024-08-24 11:43:49 +02:00
parent e889f0c20b
commit 8a3d21c424

View File

@@ -120,8 +120,6 @@ def generate_machine_hardware_info(
[
"nixpkgs#openssh",
"nixpkgs#sshpass",
# Provides nixos-generate-config on non-NixOS systems
"nixpkgs#nixos-install-tools",
],
[
*(["sshpass", "-p", f"{password}"] if password else []),