{"id":15837758,"url":"https://github.com/sambacha/nix-template","last_synced_at":"2025-10-18T02:13:36.500Z","repository":{"id":38377663,"uuid":"343193382","full_name":"sambacha/nix-template","owner":"sambacha","description":"template for dapptools/nix ","archived":false,"fork":false,"pushed_at":"2023-03-02T00:57:34.000Z","size":32,"stargazers_count":2,"open_issues_count":5,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-11T01:57:25.660Z","etag":null,"topics":["boilerplate","dapphub","dapptools","ethereum","nix","nixos","template","tutorial"],"latest_commit_sha":null,"homepage":"","language":"Nix","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sambacha.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-02-28T19:20:52.000Z","updated_at":"2023-02-03T08:52:25.000Z","dependencies_parsed_at":"2024-10-30T06:15:31.562Z","dependency_job_id":null,"html_url":"https://github.com/sambacha/nix-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":"nix-dot-dev/getting-started-devenv-template","purl":"pkg:github/sambacha/nix-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sambacha%2Fnix-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sambacha%2Fnix-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sambacha%2Fnix-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sambacha%2Fnix-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sambacha","download_url":"https://codeload.github.com/sambacha/nix-template/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sambacha%2Fnix-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279453254,"owners_count":26172860,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-18T02:00:06.492Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["boilerplate","dapphub","dapptools","ethereum","nix","nixos","template","tutorial"],"created_at":"2024-10-05T15:41:43.144Z","updated_at":"2025-10-18T02:13:36.453Z","avatar_url":"https://github.com/sambacha.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Nix](#) \n\n\u003e Opinionated repository template\n\n[![Nix: Coverage](https://github.com/sambacha/nix-template/actions/workflows/test.yml/badge.svg?branch=master)](https://github.com/sambacha/nix-template/actions/workflows/test.yml) [![niv auto update](https://github.com/sambacha/nix-template/actions/workflows/update-niv.yml/badge.svg?branch=master)](https://github.com/sambacha/nix-template/actions/workflows/update-niv.yml)\n\n```bash\nwget https://github.com/sambacha/nix-template/archive/master.zip\n```\n\nBased on [nix.dev](https://nix.dev) tutorials, repository template to get you started with [Nix](https://nixos.org/):\n\n- [niv](https://github.com/nmattia/niv) for painless dependency management (aka pinning) with a daily cronjob to bump dependencies\n- [gitignore.nix](https://github.com/hercules-ci/gitignore.nix) for respecting `.gitignore` when using your project as a source\n- [pre-commit-hooks.nix](https://github.com/cachix/pre-commit-hooks.nix) for running linters (defaults to `shellcheck`, `nix-linter` and `nixpkgs-fmt`) when committing and on the CI\n- [direnv](https://direnv.net/) for automatically loading your developer environment\n- [GitHub Actions](https://github.com/features/actions) for CI with [dependabot](https://dependabot.com/) automatically bumping GitHub Actions versions\n\n## Getting started\n\n1. Follow tutorial for [creating a binary cache](https://nix.dev/tutorials/continuous-integration-github-actions.html)\n2. Replace ``nix-getting-started-template`` in ``.github/workflows/test.yml`` with the name of your binary cache\n\n## Using the project\n\nFollow [direnv setup](https://nix.dev/tutorials/declarative-and-reproducible-developer-environments.html#direnv-automatically-activating-the-environment-on-directory-change) and run `direnv allow`\n\n## CI: Using Cacheix \n\n```yml\n# Cachix Workflow\nname: \"cachix\"\non:\n  pull_request:\n  push:\njobs:\n  tests:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: cachix/install-nix-action@v12\n    - uses: cachix/cachix-action@v8\n      with:\n        name: nix-getting-started-template\n        signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'\n        # Only needed for private caches\n        #authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'\n    - run: nix-build https://github.com/$GITHUB_REPOSITORY/archive/$GITHUB_SHA.tar.gz\n    - run: nix-shell https://github.com/$GITHUB_REPOSITORY/archive/$GITHUB_SHA.tar.gz --run \"echo OK\"\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsambacha%2Fnix-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsambacha%2Fnix-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsambacha%2Fnix-template/lists"}