diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-12-25 01:34:17 +0100 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-12-25 01:34:17 +0100 |
commit | 50672e10e87fa90f9ded5065aa4bc4ce0afaf730 (patch) | |
tree | d7002595afb6a6061fc1af6632fe05f4cfc9d9e7 /scripts/deploy.sh | |
parent | --wip-- [skip ci] (diff) | |
download | nixos-server-50672e10e87fa90f9ded5065aa4bc4ce0afaf730.tar.gz nixos-server-50672e10e87fa90f9ded5065aa4bc4ce0afaf730.zip |
[WIP] Setup `deploy-rs` and add networking detection script
Diffstat (limited to 'scripts/deploy.sh')
-rwxr-xr-x | scripts/deploy.sh | 3 |
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 |