{"id":27935580,"url":"https://github.com/vst/nix-flake-templates","last_synced_at":"2025-05-07T06:49:42.606Z","repository":{"id":291690499,"uuid":"978455100","full_name":"vst/nix-flake-templates","owner":"vst","description":"Personal Nix Flake Templates","archived":false,"fork":false,"pushed_at":"2025-05-06T04:43:23.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-07T06:49:38.018Z","etag":null,"topics":["flake","nix","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/vst.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2025-05-06T02:38:40.000Z","updated_at":"2025-05-06T04:43:26.000Z","dependencies_parsed_at":"2025-05-06T03:40:28.224Z","dependency_job_id":null,"html_url":"https://github.com/vst/nix-flake-templates","commit_stats":null,"previous_names":["vst/nix-flake-templates"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vst%2Fnix-flake-templates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vst%2Fnix-flake-templates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vst%2Fnix-flake-templates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vst%2Fnix-flake-templates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vst","download_url":"https://codeload.github.com/vst/nix-flake-templates/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252831190,"owners_count":21810780,"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","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":["flake","nix","template"],"created_at":"2025-05-07T06:49:42.057Z","updated_at":"2025-05-07T06:49:42.598Z","avatar_url":"https://github.com/vst.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nix Flake Templates\n\n\u003c!--toc:start--\u003e\n- [Nix Flake Templates](#nix-flake-templates)\n  - [`trivial` \u0026mdash; A Basic Nix Flake Template](#trivial-mdash-a-basic-nix-flake-template)\n  - [`python-script` \u0026mdash; A Python Program Script Template](#python-script-mdash-a-python-program-script-template)\n\u003c!--toc:end--\u003e\n\n## `trivial` \u0026mdash; A Basic Nix Flake Template\n\nThis template does nothing much. It demonstrates how to create a Nix Flake for\nmultiple target systems using [flake-utils].\n\nUse the template:\n\n```sh\nnix flake init --template github:vst/nix-flake-templates#trivial\n```\n\nYou can run the default package defined in the Nix Flake without checking out\nthe repository:\n\n```sh\nnix run \"github:vst/nix-flake-templates?dir=templates/trivial\" --no-write-lock-file\n```\n\nIf you have checked out this repository, then:\n\n```sh\nnix run ./templates/trivial\n```\n\n## `python-script` \u0026mdash; A Python Program Script Template\n\nThis template turns a Python script into an executable program as Nix Flake\noutput.\n\nUse the template:\n\n```sh\nnix flake init --template github:vst/nix-flake-templates#python-script\n```\n\nYou can run the default package defined in the Nix Flake without checking out\nthe repository:\n\n```sh\nnix run \"github:vst/nix-flake-templates?dir=templates/python-script\" --no-write-lock-file\n```\n\nIf you have checked out this repository, then:\n\n```sh\nnix run ./templates/python-script\n```\n\n\u003c!-- REFERENCE --\u003e\n\n[flake-utils]: https://github.com/numtide/flake-utils\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvst%2Fnix-flake-templates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvst%2Fnix-flake-templates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvst%2Fnix-flake-templates/lists"}