checks backup: limit to linux systems

This commit is contained in:
lassulus
2023-12-16 21:57:27 +01:00
parent 1c07eacdce
commit be33de4ddd

View File

@@ -64,7 +64,8 @@ in
}; };
}; };
perSystem = { nodes, pkgs, ... }: { perSystem = { nodes, pkgs, ... }: {
checks.test-backups = checks = pkgs.lib.mkIf (pkgs.stdenv.isLinux) {
test-backups =
(import ../lib/test-base.nix) (import ../lib/test-base.nix)
{ {
name = "test-backups"; name = "test-backups";
@@ -122,4 +123,5 @@ in
} }
{ inherit pkgs self; }; { inherit pkgs self; };
}; };
};
} }