summary refs log tree commit diff stats
path: root/scripts/deploy.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/deploy.sh')
-rwxr-xr-xscripts/deploy.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/deploy.sh b/scripts/deploy.sh
index 9d27e5a..00e9011 100755
--- a/scripts/deploy.sh
+++ b/scripts/deploy.sh
@@ -11,6 +11,7 @@ root="$(git rev-parse --show-toplevel)"
 nix run github:numtide/nixos-anywhere -- \
     --flake ".#$host_name" \
     --target-host "$ssh_url" \
-    --generate-hardware-config nixos-facter "$root/hardware_config_$host_name.nix"
+    --generate-hardware-config nixos-generate-config "$root/hardware_config_$host_name.nix" \
+    --generate-hardware-config nixos-facter "$root/hardware_config_$host_name.json"
 
 # vim: ft=sh