blob: b377ce88c50555ac3b7e7567183ce2b7ef67c8a6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<!--
SPDX-FileCopyrightText: 2023 Serokell <https://serokell.io/>
SPDX-License-Identifier: MPL-2.0
-->
# Example nix-darwin system deployment
## Prerequisites
1) Install `nix` and `nix-darwin` (the latter creates `/run` sets up `/etc/nix/nix.conf` symlink and so on)
on the target machine.
2) Enable remote login on the mac to allow ssh access.
3) `deploy-rs` doesn't support password provisioning for `sudo`, so the `sshUser` should
have passwordless `sudo` access.
## Deploying
Run `nix run github:serokell/deploy-rs -- --ssh-user <user>`.
|