I've been using #homemanager on both #nixos and non-nixos systems for a while and it's been mostly good. One annoying thing was managing channels. My NixOS is flake-based, but when I ran "nix-shell -p <pkg>" on non-nixos system, things weren't predictable.

Finally figured out a fix in https://codeberg.org/sochotnicky/homelab/src/commit/2b53a2b2b17a9010cd5396515c76f35e99bf9dfb/home/base.nix#L20-L36

Basically setup nix registry nixpkgs/unstable using flake inputs. So I can run nix shell nixpkgs#curl and get same curl as I have on my nixos. Or use unstable#curl and get latest.

homelab/home/base.nix at 2b53a2b2b17a9010cd5396515c76f35e99bf9dfb

homelab - My basic homelab setup

Codeberg.org
@drizzy oh this is awesome! I didn't know this was possible :D