moved install iso from a package to a host

made funnier functions

gave more modules disable options

updated lint command
This commit is contained in:
Gerg-L 2023-07-28 19:38:59 -04:00
parent ccbc3cc2af
commit c4e6bcb664
9 changed files with 132 additions and 120 deletions

View file

@ -30,6 +30,11 @@ let
'';
};
in {
system.build.bootStage2 = lib.mkForce bootStage2;
options.local.bootConfig.stage2patch.disable = lib.mkEnableOption "";
config =
lib.mkIf (!config.local.bootConfig.stage2patch.disable)
{
system.build.bootStage2 = lib.mkForce bootStage2;
};
_file = ./stage2patch.nix;
}