I am studying your work on you personal flake as a learning exercice. I came across something odd, maybe the answer is simple but I'm a litte stuck.
In hosts/common/users/misterio/default.nix :
I see that you declare the home-manager package with packages = [pkgs.home-manager]; and proceed with I guess using it in
home-manager.users.misterio = import ../../../../home/misterio/${config.networking.hostName}.nix;
I'm wondering what is the reason for doing so since this file is also imported via the flake.nix file with:
Hi Misterio77,
I am studying your work on you personal flake as a learning exercice. I came across something odd, maybe the answer is simple but I'm a litte stuck.
In hosts/common/users/misterio/default.nix : I see that you declare the home-manager package with
packages = [pkgs.home-manager];
and proceed with I guess using it inhome-manager.users.misterio = import ../../../../home/misterio/${config.networking.hostName}.nix;
I'm wondering what is the reason for doing so since this file is also imported via the flake.nix file with:
I would have said the flake one would be sufficient to load your user config.