From 50672e10e87fa90f9ded5065aa4bc4ce0afaf730 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Wed, 25 Dec 2024 01:34:17 +0100 Subject: [WIP] Setup `deploy-rs` and add networking detection script --- scripts/deploy.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts/deploy.sh') 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 -- cgit 1.4.1