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

15 lines
368 B
Nix

{ system, home-manager, user, ... }:
{
modules = [
home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.backupFileExtension = "backup";
home-manager.users.${user} = import ../users/${user};
home-manager.extraSpecialArgs = { inherit user; };
}
];
}