nixos-config/config/modules/home-manager.nix

15 lines
368 B
Nix
Raw Normal View History

{ system, home-manager, user, ... }:
{
2024-07-26 22:58:54 +00:00
modules = [
home-manager.nixosModules.home-manager
2024-07-26 22:58:54 +00:00
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.backupFileExtension = "backup";
2024-07-26 23:05:13 +00:00
home-manager.users.${user} = import ../users/${user};
home-manager.extraSpecialArgs = { inherit user; };
2024-07-26 22:58:54 +00:00
}
];
}