summaryrefslogtreecommitdiff
path: root/deploy.sh
diff options
context:
space:
mode:
authorandromeda <andromeda@lenovo>2026-02-21 15:59:08 +0100
committerandromeda <andromeda@lenovo>2026-02-21 15:59:08 +0100
commitde1879b9a0b9a412068785d81cc17bbf947d0eef (patch)
treef3db0eaaa675b872c52f5587a3a84838481a54ba /deploy.sh
parent0647d9a8e0d54005b58b286f5caf8e944de3f7f8 (diff)
idk prolly smt ig
Diffstat (limited to 'deploy.sh')
-rwxr-xr-xdeploy.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/deploy.sh b/deploy.sh
index 86a6c40..387c3ee 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -2,4 +2,8 @@
# $ ./deploy.sh <hostname> <ip>
# example usage:
# $ ./deply.sh 109-199-104-83 109.199.104.83
-nix run github:nix-community/nixos-anywhere -- --generate-hardware-config nixos-generate-config ./hardware-configuration.nix --flake .?ref=411ee0c#$1 --target-host root@$2
+nix run github:nix-community/nixos-anywhere -- \
+ --extra-files ~/.ssh/remote_secrets/$2 \
+ --generate-hardware-config nixos-generate-config ./hardware-configuration.nix \
+ --flake .#$1 \
+ --target-host root@$2