3 ms·
> there is no (to my knowledge) general-purpose, broadly-accepted way to deploy via Nix `nix copy .#my-crap --to ssh://remote` What you do with it then on the
by otabdeveloper4 2y ago
> there is no (to my knowledge) general-purpose, broadly-accepted way to deploy via Nix
`nix copy .#my-crap --to ssh://remote`
What you do with it then on the remote depends on your environment. At the minimum do a `nix-store --add-root` to make a symlink to whatever you just copied.
(The most painless path is if you're deploying an entire NixOS system, but that requires converting the remote host to NixOS first.)