1
1
mirror of https://github.com/divnix/digga.git synced 2024-12-20 06:31:40 +03:00

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;
})
).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;
}
];
}