The last of my fucking around with Nix and Flakes prior to killing the
nixos portion of my k8s project. This was just too hard to figure out,
honestly. Docs around nixflakes suck. They appear to be the future! I
believe the hype! But I can't figure out DICK ALL.
Committing, will probably rip out once I'm fully over on PM.
Deploy-RS will follow module imports, but seems to do some fucking
DUMB SHIT when it comes to actually building the whole package. I
found that unless I defined the user in the core configuration.nix
file, regardless of other imports, I would lose access to the users
halfway through the deploy.
I'm not totally sure why. I never tried setting the import inside the
configuration.nix, but I /was/ setting it inside the fucking
flake.nix, so who knows.
This way does make some sense, it feels safer to have my deploy user /
root defs inside the core config file so there's never a possibility
of losing access remotely, but still. What a fucking pain. Morph
doesn't have this problem! Morph is good! What are you doing deploy-rs!!