diff --git a/flake.nix b/flake.nix index 2efb1077..7170c3f3 100644 --- a/flake.nix +++ b/flake.nix @@ -65,11 +65,14 @@ name: import ./overlays/${name}.nix ); - checks.x86_64-linux = genAttrs (map nameOf (listFilesRecursive ./tests)) ( - name: import ./tests/${name}.nix { - inherit self; - pkgs = nixpkgs.legacyPackages.x86_64-linux; - } + checks = forAllSystems ( + pkgs: + genAttrs (map nameOf (listFilesRecursive ./tests)) ( + name: + import ./tests/${name}.nix { + inherit self pkgs; + } + ) ); nixosConfigurations = {