idk prolly smt ig
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user