chore: move home-manager configuration one nested level deeper because statix told me to

This commit is contained in:
Mohammad Rafiq 2025-03-01 07:04:48 +08:00
parent 13916728ac
commit 5fa49566c8

View file

@ -18,16 +18,18 @@
# Add the home-manager user # Add the home-manager user
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
{ {
# Don't instantiate the home-manager instance of nixpkgs home-manager = {
home-manager.useGlobalPkgs = true; # Don't instantiate the home-manager instance of nixpkgs
# Install user packages to /etc/profiles useGlobalPkgs = true;
home-manager.useUserPackages = true; # Install user packages to /etc/profiles
# Pass inputs to home-manager configurations useUserPackages = true;
home-manager.extraSpecialArgs = args; # Pass inputs to configurations
# Add the users extraSpecialArgs = args;
home-manager.users.rafiq.imports = [ # Add the users
./users/rafiq.nix users.rafiq.imports = [
]; ./users/rafiq.nix
];
};
} }
]; ];
}; };