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:
@@ -120,8 +120,6 @@ def generate_machine_hardware_info(
|
|||||||
[
|
[
|
||||||
"nixpkgs#openssh",
|
"nixpkgs#openssh",
|
||||||
"nixpkgs#sshpass",
|
"nixpkgs#sshpass",
|
||||||
# Provides nixos-generate-config on non-NixOS systems
|
|
||||||
"nixpkgs#nixos-install-tools",
|
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
*(["sshpass", "-p", f"{password}"] if password else []),
|
*(["sshpass", "-p", f"{password}"] if password else []),
|
||||||
|
|||||||
Reference in New Issue
Block a user