This repository has been archived on 2024-06-21. You can view files and clone it, but cannot push or open issues or pull requests.
dn42.nix/flake.nix

28 lines
614 B
Nix
Raw Normal View History

2024-03-10 23:21:55 +01:00
{
2024-03-12 00:21:11 +01:00
outputs = { self, nixpkgs, ... }:
let
systems = [
"x86_64-linux"
# "aarch64-linux"
];
2024-03-12 00:21:11 +01:00
in {
nixosModules = rec {
2024-03-12 00:23:19 +01:00
dn42 = import ./modules;
2024-03-12 00:21:11 +01:00
default = dn42;
};
checks = builtins.listToAttrs (map (system: {
name = system;
value = {
two-peers = import ./checks/two-peers.nix {
pkgs = nixpkgs.legacyPackages.${system};
};
2024-03-12 19:56:30 +01:00
extended-next-hop = import ./checks/extended-next-hop.nix {
pkgs = nixpkgs.legacyPackages.${system};
};
2024-03-12 00:21:11 +01:00
};
}) systems);
2024-03-10 23:21:55 +01:00
};
}