Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tarc/nix-test
https://github.com/tarc/nix-test
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/tarc/nix-test
- Owner: tarc
- Created: 2021-11-07T11:17:23.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-04-05T00:59:13.000Z (over 1 year ago)
- Last Synced: 2023-04-12T08:42:26.139Z (over 1 year ago)
- Language: Nix
- Size: 16.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Opinionated Nix repository template
Based on [nix.dev](https://nix.dev) tutorials, repository template to get you started with [Nix](https://nixos.org/):
- [niv](https://github.com/nmattia/niv) for painless dependency management (aka pinning) with a daily cronjob to bump dependencies
- [gitignore.nix](https://github.com/hercules-ci/gitignore.nix) for respecting `.gitignore` when using your project as a source
- [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
- [direnv](https://direnv.net/) for automatically loading your developer environment
- [GitHub Actions](https://github.com/features/actions) for CI with [dependabot](https://dependabot.com/) automatically bumping GitHub Actions versions## Getting started
1. Follow tutorial for [creating a binary cache](https://nix.dev/tutorials/continuous-integration-github-actions.html)
2. Replace ``nix-getting-started-template`` in ``.github/workflows/test.yml`` with the name of your binary cache## Using the project
Follow [direnv setup](https://nix.dev/tutorials/declarative-and-reproducible-developer-environments.html#direnv-automatically-activating-the-environment-on-directory-change) and run `direnv allow`