forked from pub-solar/os
iso: add back complete host profile to the nix store
This ensures that all builds of activated profiles are included into the iso cache and don't require rebuilding within the live installer environment.
This commit is contained in:
parent
435847823f
commit
007447652b
|
@ -7,6 +7,8 @@ lib.nixosSystem (args // {
|
||||||
moduleList = builtins.attrValues modules;
|
moduleList = builtins.attrValues modules;
|
||||||
modpath = "nixos/modules";
|
modpath = "nixos/modules";
|
||||||
|
|
||||||
|
fullHostConfig = (lib.nixosSystem (args // { modules = moduleList; })).config;
|
||||||
|
|
||||||
isoConfig = (lib.nixosSystem
|
isoConfig = (lib.nixosSystem
|
||||||
(args // {
|
(args // {
|
||||||
modules = moduleList ++ [
|
modules = moduleList ++ [
|
||||||
|
@ -27,6 +29,9 @@ lib.nixosSystem (args // {
|
||||||
}];
|
}];
|
||||||
isoImage.storeContents = [
|
isoImage.storeContents = [
|
||||||
self.devShell.${config.nixpkgs.system}
|
self.devShell.${config.nixpkgs.system}
|
||||||
|
# include also closures that are "switched off" by the
|
||||||
|
# above profile filter on the local config attribute
|
||||||
|
fullHostConfig.system.build.toplevel
|
||||||
];
|
];
|
||||||
|
|
||||||
# confilcts with networking.wireless which might be slightly
|
# confilcts with networking.wireless which might be slightly
|
||||||
|
|
Loading…
Reference in a new issue