News for hackers. Stuff that matters.
Re:A Nix terminology primer by a newcomer by 1000101 on Wednesday June 03, 2020 @05:38AM (#23401620)
Have you tried https://github.com/elitak/nixos-infect ? Works like a charm (with DO). It's a oneliner, you don't need to fiddle with anything. If it won't work from the user config option, just paste it in the live VPS and it will rebuild itself.
Re:A Nix terminology primer by a newcomer by elbear on Wednesday June 03, 2020 @05:44AM (#23401651)
I haven't. I was trying to use nixos-generators, because at some point I want to generate a custom, stripped down image of NixOS. But until then, I might use nixos-infect, if it gets me a running instance of DO quicker.
Re:A Nix terminology primer by a newcomer by 1000101 on Wednesday June 03, 2020 @05:57AM (#23401713)
It's super easy and works every time. You might want to change NIX_CHANNEL=nixos-19.09 to NIX_CHANNEL=nixos-20.03 since 19.09 is the previous stable version. I use nixos-infect along with Morph so I don't care about the custom images that much - a fresh/bare NixOS is all I need to build, push and deploy the actual configuration through Morph.
Re:A Nix terminology primer by a newcomer by elbear on Wednesday June 03, 2020 @07:34AM (#23402234)
Didn't know about Morph. Thanks!