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

12 lines
422 B
Nix
Raw Normal View History

2022-03-09 23:55:02 +03:00
{config, ...}: {
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;
2021-07-09 18:17:05 +03:00
}
];
}