refactor hydra, convert features to refs
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
10
hydra/jobs.nix
Normal file
10
hydra/jobs.nix
Normal file
@ -0,0 +1,10 @@
|
||||
{ inputs, outputs }:
|
||||
let
|
||||
inherit (inputs.nixpkgs.lib) mapAttrs;
|
||||
|
||||
getCfg = _: cfg: cfg.config.system.build.toplevel;
|
||||
in
|
||||
{
|
||||
hosts = mapAttrs getCfg outputs.nixosConfigurations;
|
||||
formatter = outputs.formatter;
|
||||
}
|
Reference in New Issue
Block a user