mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-10 17:34:05 -05:00
update readme for deploying on remotes
This commit is contained in:
parent
2e94a15a10
commit
d2b02793c3
1 changed files with 4 additions and 0 deletions
|
|
@ -9,3 +9,7 @@
|
|||
|
||||
## Formatting disks with disko
|
||||
`sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko/latest -- --mode destroy,format,mount <disk config path>`
|
||||
|
||||
## Deploying to the remote
|
||||
Note: If you need to specify the ssh key, you may inject extra cli options to the ssh command via the NIX_SSHOPTS environment variable
|
||||
* Anywhere from local: `nixos-rebuild switch --flake .#<host> --target-host root@<ipaddr> --use-remote-sudo`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue