ark/modules/base/hm-system-defaults.nix

18 lines
576 B
Nix
Raw Normal View History

2022-06-10 21:36:34 +03:00
{
config,
inputs,
...
}: {
2022-04-09 21:33:13 +03:00
home-manager.useGlobalPkgs = true;
2022-04-10 08:18:19 +03:00
home-manager.useUserPackages = true;
2021-07-09 18:17:05 +03:00
home-manager.sharedModules = [
{
2022-03-09 23:55:02 +03:00
home.sessionVariables = {inherit (config.environment.sessionVariables) NIX_PATH;};
2022-02-18 20:31:01 +03:00
xdg.configFile."nix/registry.json".text = config.environment.etc."nix/registry.json".text;
2022-04-10 08:18:19 +03:00
xdg.configFile."nix/nix.conf".source = config.environment.etc."nix/nix.conf".source;
2022-07-30 03:04:32 +03:00
xdg.configFile."nix/netrc".source = config.environment.etc."nix/netrc".source;
2021-07-09 18:17:05 +03:00
}
];
2022-06-10 21:36:34 +03:00
home-manager.extraSpecialArgs = {inherit inputs;};
2021-07-09 18:17:05 +03:00
}