ref: make hm common module explicit
This commit is contained in:
parent
b95189d754
commit
26a2423312
@ -7,20 +7,5 @@
|
||||
fullHostConfig = config;
|
||||
})
|
||||
).config.system.build.isoImage;
|
||||
|
||||
homes = (config.lib.digga.mkBuild
|
||||
({ config, ... }: {
|
||||
home-manager.useUserPackages = lib.mkForce false;
|
||||
home-manager.sharedModules = [
|
||||
{
|
||||
home.sessionVariables = {
|
||||
inherit (config.environment.sessionVariables) NIX_PATH;
|
||||
};
|
||||
xdg.configFile."nix/registry.json".text =
|
||||
config.environment.etc."nix/registry.json".text;
|
||||
}
|
||||
];
|
||||
})
|
||||
).config.home-manager.users;
|
||||
};
|
||||
}
|
||||
|
11
modules/hm-system-defaults.nix
Normal file
11
modules/hm-system-defaults.nix
Normal file
@ -0,0 +1,11 @@
|
||||
{ config, ... }: {
|
||||
home-manager.sharedModules = [
|
||||
{
|
||||
home.sessionVariables = {
|
||||
inherit (config.environment.sessionVariables) NIX_PATH;
|
||||
};
|
||||
xdg.configFile."nix/registry.json".text =
|
||||
config.environment.etc."nix/registry.json".text;
|
||||
}
|
||||
];
|
||||
}
|
Loading…
Reference in New Issue
Block a user