diff --git a/flake.nix b/flake.nix index 388cc00..0bebde9 100644 --- a/flake.nix +++ b/flake.nix @@ -84,18 +84,18 @@ }; } // helper.mapToColmenaHosts self.nixosConfigurations; - packages.x86_64-linux = let + packages = nixpkgs.lib.genAttrs [ "x86_64-linux" "aarch64-linux" ] (system: let pkgs = import nixpkgs { + inherit system; overlays = [ (import ./pkgs/overlay.nix) (_: _: { - inherit (agenix.packages."x86_64-linux") + inherit (agenix.packages.${system}) agenix; - inherit (chaosevents.packages."x86_64-linux") + inherit (chaosevents.packages.${system}) chaosevents; }) ]; - system = "x86_64-linux"; }; in { inherit (pkgs) @@ -113,7 +113,7 @@ update-from-hydra uptimestatus wetter; - }; + }); hydraJobs = { inherit (self)