2021-06-19 18:26:07 +00:00
|
|
|
{ lib, pkgs, self, config, modules, channel, ... }:
|
2021-04-28 18:30:04 +00:00
|
|
|
{
|
|
|
|
system.build = {
|
2021-06-19 18:26:07 +00:00
|
|
|
iso = (config.lib.digga.mkBuild
|
|
|
|
(config.lib.digga.modules.isoConfig {
|
|
|
|
inherit self;
|
|
|
|
fullHostConfig = config;
|
|
|
|
})
|
|
|
|
).config.system.build.isoImage;
|
2021-04-28 18:30:04 +00:00
|
|
|
|
2021-06-19 18:26:07 +00:00
|
|
|
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;
|
2021-04-28 18:30:04 +00:00
|
|
|
};
|
|
|
|
}
|