This commit updates the home-manager flake input to the 22.11 release
and creates additional support for the new homeManagerConfiguration
setup that is introduced there: Some arguments that were previously
in use, now need to be used inside the new modules argument (check
[here][hm-22.11-highlights] for more details).
Finally, the examples of using home-manager now declare explicitly the
stateVersion, since the 22.11 release makes this mandatory.
[hm-22.11-highlights]: https://nix-community.github.io/home-manager/release-notes.html#sec-release-22.11-highlights
Type-check such configs as modules ("moduleType") rather than as
functions evaluating to attribute sets ("functionTo attrs"). This
ensures that they get invoked with all expected module arguments
("pkgs", "lib", etc.).
Update ./examples/hmOnly so that the testuser config references the pkgs
module arg, thus testing that the switch to moduleType works as
intended.
Closes#119