22 lines
643 B
Nix
22 lines
643 B
Nix
{
|
|
config,
|
|
inputs,
|
|
tlib,
|
|
...
|
|
}: {
|
|
home-manager.useGlobalPkgs = true;
|
|
home-manager.useUserPackages = true;
|
|
home-manager.sharedModules = [
|
|
{
|
|
home = {
|
|
inherit (config.environment) shellAliases sessionVariables;
|
|
stateVersion = config.system.stateVersion;
|
|
};
|
|
xdg.configFile."nix/registry.json".text = config.environment.etc."nix/registry.json".text;
|
|
xdg.configFile."nix/nix.conf".source = config.environment.etc."nix/nix.conf".source;
|
|
xdg.configFile."nix/netrc".source = config.environment.etc."nix/netrc".source;
|
|
}
|
|
];
|
|
home-manager.extraSpecialArgs = {inherit inputs tlib;};
|
|
}
|