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 156bf9915a
commit c887ec2df4
2 changed files with 10 additions and 3 deletions

View File

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