1
0

Compare commits

..

2 Commits

Author SHA1 Message Date
0111f67b6d flake.nix: multi system packages 2023-10-25 18:28:37 +02:00
36e6d96d2c hosts/krypton: enable binfmt virt for aarch64-linux 2023-10-25 18:25:15 +02:00
2 changed files with 9 additions and 5 deletions

View File

@ -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)

View File

@ -29,6 +29,10 @@
networking.hostName = "krypton";
boot.binfmt.emulatedSystems = [
"aarch64-linux"
];
system.stateVersion = "23.05";
}