flake.nix: multi system packages
This commit is contained in:
parent
36e6d96d2c
commit
0111f67b6d
10
flake.nix
10
flake.nix
@ -84,18 +84,18 @@
|
|||||||
};
|
};
|
||||||
} // helper.mapToColmenaHosts self.nixosConfigurations;
|
} // helper.mapToColmenaHosts self.nixosConfigurations;
|
||||||
|
|
||||||
packages.x86_64-linux = let
|
packages = nixpkgs.lib.genAttrs [ "x86_64-linux" "aarch64-linux" ] (system: let
|
||||||
pkgs = import nixpkgs {
|
pkgs = import nixpkgs {
|
||||||
|
inherit system;
|
||||||
overlays = [
|
overlays = [
|
||||||
(import ./pkgs/overlay.nix)
|
(import ./pkgs/overlay.nix)
|
||||||
(_: _: {
|
(_: _: {
|
||||||
inherit (agenix.packages."x86_64-linux")
|
inherit (agenix.packages.${system})
|
||||||
agenix;
|
agenix;
|
||||||
inherit (chaosevents.packages."x86_64-linux")
|
inherit (chaosevents.packages.${system})
|
||||||
chaosevents;
|
chaosevents;
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
system = "x86_64-linux";
|
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
inherit (pkgs)
|
inherit (pkgs)
|
||||||
@ -113,7 +113,7 @@
|
|||||||
update-from-hydra
|
update-from-hydra
|
||||||
uptimestatus
|
uptimestatus
|
||||||
wetter;
|
wetter;
|
||||||
};
|
});
|
||||||
|
|
||||||
hydraJobs = {
|
hydraJobs = {
|
||||||
inherit (self)
|
inherit (self)
|
||||||
|
Loading…
Reference in New Issue
Block a user