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