{"id":39925409,"url":"https://github.com/klarkc/nix-templates","last_synced_at":"2026-01-18T17:37:40.072Z","repository":{"id":64724281,"uuid":"575526895","full_name":"klarkc/nix-templates","owner":"klarkc","description":"Minimal reproducible nix flake templates","archived":false,"fork":false,"pushed_at":"2026-01-18T00:06:30.000Z","size":925,"stargazers_count":17,"open_issues_count":53,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-18T12:46:50.254Z","etag":null,"topics":["haskell","nix","plutus","purescript","template"],"latest_commit_sha":null,"homepage":"","language":"Nix","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/klarkc.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-12-07T17:56:59.000Z","updated_at":"2026-01-12T11:47:50.000Z","dependencies_parsed_at":"2025-11-27T14:08:03.693Z","dependency_job_id":null,"html_url":"https://github.com/klarkc/nix-templates","commit_stats":null,"previous_names":["klarkc/nix-templates"],"tags_count":27,"template":false,"template_full_name":null,"purl":"pkg:github/klarkc/nix-templates","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klarkc%2Fnix-templates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klarkc%2Fnix-templates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klarkc%2Fnix-templates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klarkc%2Fnix-templates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/klarkc","download_url":"https://codeload.github.com/klarkc/nix-templates/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klarkc%2Fnix-templates/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28545428,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T14:59:57.589Z","status":"ssl_error","status_checked_at":"2026-01-18T14:59:46.540Z","response_time":98,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["haskell","nix","plutus","purescript","template"],"created_at":"2026-01-18T17:37:39.985Z","updated_at":"2026-01-18T17:37:40.066Z","avatar_url":"https://github.com/klarkc.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nix-templates\n\n[![Test](https://github.com/klarkc/nix-templates/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/klarkc/nix-templates/actions/workflows/test.yml?query=branch%3Amain)\n\nMinimal reproducible nix flake templates.\n\n## What is the definition of minimum?\n\n- Hello World (eg: a script which prints \"hello world\").\n- LSP support (if available)\n- Code formatter (if available)\n- Docs (if available)\n\n## Usage\n\n```bash\nnix flake init -t github:klarkc/nix-templates#template-name\n```\n\n### Templates\n\n- [agd](./agd): A minimal agda template\n- [hask](./hask): A minimal haskell template\n- [iogx](./iogx): A haskell.nix (iogx) template\n- [iogx-plutus](./iogx-plutus): A plutus template using haskell.nix (iogx)\n- [pix](./pix): A PureScript purs-nix template\n- [pix-ctl](./pix-ctl): A minimal cardano-transaction-lib template using pix\n- [pix-ctl-full](./pix-ctl-full): A optioned cardano-transaction-lib template using pix\n\n## FAQ\n\n### Why the templates have `flake.lock` files?\n\nWhile I agree that storing lock files in templates is not ideal, there is no way to be sure the template is working if we do not store lock files. It's a trade-off, we prefer to have working templates than up-to-date dependencies. That said, we try to keep all templates here in sync with upstream / dependencies as far as possible.\n\n### Will you support other systems?\n\nIt depends on upstream supporting it, and also our capacity to test in our CI. Right now only these systems are supported:\n\n- x86_64-linux (all templates)\n\n### Minimal system requirements?\n\nIt depends on the template:\n\n- agd, hask, pix: 4GB RAM and 5GB HDD\n- iogx: 8GB RAM and 10GB HDD\n- iogx-plutus, pix-ctl: 16GB RAM (for HDD) / 12GB RAM (for SSD). At least 20GB of available space.\n\n### Why it take soo long to build?\n\n- You can use prebuilt binaries if you accept flake cache settings, to do that you need to be a [trusted-user](https://nixos.org/manual/nix/stable/command-ref/conf-file.html#conf-trusted-users).\n- Haskell.nix (iogx) is known for having slow evaluation/build times.\n- If you hardware is constrained it will take more time building, using a SSD will potentially speed-up things. **Remember to close everything in the first build to not be OOM killed**.\n\n### I am getting `No such file or directory`\n\nThis is a know issue (NixOS/nix#6642). Be sure to initialize a git repo before (`git init`).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fklarkc%2Fnix-templates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fklarkc%2Fnix-templates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fklarkc%2Fnix-templates/lists"}