Fix auto-deploy to build known hosts file
All checks were successful
CI / build (push) Successful in 1m49s
CI / deploy (docs-ops.qo.is) (push) Successful in 1m7s
CI / deploy (system-vm) (push) Successful in 1m29s

This commit is contained in:
Fabian Hauser 2025-05-18 23:21:48 +03:00
parent 184a810bd3
commit 04682cd5bd

View file

@ -38,7 +38,7 @@ if [ -z "$HOSTS" ]; then
exit 1
fi
KNOWN_HOSTS_FILE=$(nix eval --raw .#nixosConfigurations.lindberg.config.environment.etc."ssh/ssh_known_hosts".source)
KNOWN_HOSTS_FILE=$(nix build --no-link --print-out-paths .#nixosConfigurations.lindberg.config.environment.etc."ssh/ssh_known_hosts".source)
#### Helpers
retry() {