Replying to Avatar theprimeape

https://gist.github.com/Armory8854/cd6789fb571fecf51facc9e7008d2e7d

This is how I do it with Morph + Nix cause I can't be assed to do it manually ever again. Easily deployable to new vps' or homeservers.

nostr:npub14gg2f7al7ef9ehju3sgpzk440jlu4vk4d49mt6eedk2kdgm96q2sak79df what is this pipline? where does it go

Reply to this note

Please Login to reply.

Discussion

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.