$ echo "use flake" > .envrc
$ direnv allow
$ nix-shell -p lix --command "nix build --experimental-features 'nix-command flakes' '.#homeConfigurations.mbp.activationPackage'"
$ ./result/activate
$ nh home switch . -c mbpMy configuration follows the Dendritic configuration pattern. Every file in modules/*.nix is a flake parts module (not a standard Home Manager or NixOS module!). By using import-tree all modules are automagically imported and active.
Each module should, in theory, deal with a single cross cutting concern, such as configuring Git on all systems, hosts and platforms.
Since I only use Nix on my MacBook Pro, my configuration stuffs most settings into a modules/common.nix file.