https://github.com/DBCDK/morph

Basically I have a directory with that file (digitalocean.nix) that I run like this

`morph deploy digitalocean.nix switch`

After copying the secrets over with

`morph upload-secrets digitalocean.nix`

It's actually been a minute since I used this so those commands may be off (can't remember if the file comes before or after switch lol) but this will deploy to a nixos vm, server, or vps instance. I had to make my own Nixos vm for digital ocean but it was worth it.

Reply to this note

Please Login to reply.

Discussion

I LOVE making my life as complicated as possible for "ease of deployment" i'm a glutton for punishment