hydra updates!

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
ahuston-0 2024-04-17 20:51:36 -04:00 committed by Alice Huston
parent 8426b9461a
commit 9bbee9da3e
2 changed files with 10 additions and 3 deletions

View File

@ -308,14 +308,12 @@
packages = [
self.formatter.${system}
nixpkgs.legacyPackages.${system}.deadnix
<<<<<<< HEAD
nixpkgs.legacyPackages.${system}.treefmt
nixpkgs.legacyPackages.${system}.pre-commit
=======
>>>>>>> 7502153 (fixes :))
];
shellHook = (nix-pre-commit.lib.${system}.mkConfig { inherit pkgs config; }).shellHook;
}
) sops-nix.packages;
};
}

9
hydra.nix Normal file
View File

@ -0,0 +1,9 @@
{ inputs, outputs }:
let
inherit (inputs.nixpkgs.lib) mapAttrs;
getCfg = _: cfg: cfg.config.system.build.toplevel;
in
{
hosts = mapAttrs getCfg outputs.nixosConfigurations;
}