idk prolly smt ig

This commit is contained in:
andromeda
2026-02-21 15:59:08 +01:00
parent 0647d9a8e0
commit de1879b9a0
14 changed files with 151 additions and 666 deletions

View File

@@ -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