ref: make hm common module explicit

This commit is contained in:
David Arnold 2021-07-09 10:17:05 -05:00 committed by David Arnold
parent b95189d754
commit 26a2423312
2 changed files with 11 additions and 15 deletions

View File

@ -7,20 +7,5 @@
fullHostConfig = config; fullHostConfig = config;
}) })
).config.system.build.isoImage; ).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;
}; };
} }

View 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;
}
];
}