mirror of
https://github.com/serokell/deploy-rs.git
synced 2024-09-11 10:45:29 +03:00
.. | ||
flake.nix | ||
README.md |
Example nix-darwin system deployment
Prerequisites
- Install
nix
andnix-darwin
(the latter creates/run
sets up/etc/nix/nix.conf
symlink and so on) on the target machine. - Enable remote login on the mac to allow ssh access.
deploy-rs
doesn't support password provisioning forsudo
, so thesshUser
should have passwordlesssudo
access.
Deploying
Run nix run github:serokell/deploy-rs -- --ssh-user <user>
.