Seems like this ought to be pretty basic but I can’t find it specifically in any of the docs or examples popping up in my searches. I have NixOS with Home Manager on 4 computers, and I’m finally getting around to trying to eliminate redundancy in the home.nix files, which vary slightly due to different uses of the computers but are basically 90% the same. So I want to move the programs.vim = {...}
and programs.tmux = {...}
and so on to separate files and include it in each of the home.nix files.
home-manager is an instance of the NixOS module system, so you can use imports
in much the same way as you do for your NixOS configs.
Got it - thanks. I was over thinking it.