nix run -f . deployments.t490s -c deploy [switch|boot|test] [target*]
nix run -f . deployments.arianvp-me -c deploy switch [email protected]
These are defined in overlays/deployments.nix
- Build the image
nix-build -A digitalocean-image
- Upload it to Digitalocean
- Start a droplet
- you can now deploy with
nix run -f . deployments.arianvp-me -c deploy switch root@<droplet ip>
If you're not on NixOS
Note: Can not be used in conjunction with manual usage of nix-env --install
as
this will override the environment that this installs
$ ./setup-user-env.sh