22 lines
454 B
Nix
22 lines
454 B
Nix
{
|
|
outputs = { self, nixpkgs, ... }:
|
|
let
|
|
systems = [ "x86_64-linux" "aarch64-linux" ];
|
|
|
|
in {
|
|
nixosModules = rec {
|
|
dn42 = import ./modules;
|
|
default = dn42;
|
|
};
|
|
|
|
checks = builtins.listToAttrs (map (system: {
|
|
name = system;
|
|
value = {
|
|
two-peers = import ./checks/two-peers.nix {
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
};
|
|
};
|
|
}) systems);
|
|
};
|
|
}
|