chore: move home-manager configuration one nested level deeper because statix told me to
This commit is contained in:
parent
13916728ac
commit
5fa49566c8
1 changed files with 12 additions and 10 deletions
12
flake.nix
12
flake.nix
|
@ -18,16 +18,18 @@
|
||||||
# Add the home-manager user
|
# Add the home-manager user
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
{
|
{
|
||||||
|
home-manager = {
|
||||||
# Don't instantiate the home-manager instance of nixpkgs
|
# Don't instantiate the home-manager instance of nixpkgs
|
||||||
home-manager.useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
# Install user packages to /etc/profiles
|
# Install user packages to /etc/profiles
|
||||||
home-manager.useUserPackages = true;
|
useUserPackages = true;
|
||||||
# Pass inputs to home-manager configurations
|
# Pass inputs to configurations
|
||||||
home-manager.extraSpecialArgs = args;
|
extraSpecialArgs = args;
|
||||||
# Add the users
|
# Add the users
|
||||||
home-manager.users.rafiq.imports = [
|
users.rafiq.imports = [
|
||||||
./users/rafiq.nix
|
./users/rafiq.nix
|
||||||
];
|
];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue