diff --git a/nix/modules/template.nix b/nix/modules/template.nix index 37cb2b4..2e7d1e3 100644 --- a/nix/modules/template.nix +++ b/nix/modules/template.nix @@ -43,6 +43,24 @@ value = false; } ]; + tests = { + default = { + params = { + package-name = "foo"; + author = "John"; + vscode = false; + }; + asserts = { + source = { + ".github/workflows/ci.yaml" = true; + ".vscode" = false; + }; + packages.default = { + "bin/foo" = true; + }; + }; + }; + }; }; }; }