Running my nix config incl. dot files on multiple OS from wsl and Mac for shell env and paths specific coding envs via devenv to nixos on my workstation and server.
I started with home manager on wsl till I got comfortable and switched to nix full time in the run. Was a chore at first. Now, i do not want any other environment for coding. It just works and can replicate and sync all working environments with ease!
I guess there are multiple working and proven ways. The above is the one which worked for me as a full time Principle in a 10000+ “shop” over years now. Whatever will work for you will be your preffered way.