feat: extern nixosModules

This commit is contained in:
arcnmx 2024-02-19 11:29:46 -08:00
parent cb932b65cc
commit 0116ecf47f
14 changed files with 690 additions and 2 deletions

View file

@ -10,6 +10,7 @@
"tree.nix"
];
whitelistDirs = [
"modules/extern"
"modules/system"
"systems"
];

View file

@ -29,7 +29,11 @@ with lib; {
in
mapAttrs' (k: nameValuePair "${k}") (genAttrs nixosSystems (host: {
tasks.${host}.inputs = channels.nixfiles.nixosConfigurations.${host}.config.system.build.toplevel;
}));
})) // {
extern = {
tasks.test.inputs = channels.nixfiles.nixosConfigurations.extern-test.config.system.build.toplevel;
};
};
ci.gh-actions.checkoutOptions.submodules = false;
cache.cachix.arc = {