{"id":22922447,"url":"https://github.com/nulladmin1/nix-flake-templates","last_synced_at":"2025-05-12T22:55:19.529Z","repository":{"id":258075091,"uuid":"872169526","full_name":"nulladmin1/nix-flake-templates","owner":"nulladmin1","description":"A collection of Nix Flake Templates for: Python, CMake, Poetry, uv, Rust, Fenix, Naersk, Vim, Zig, Bash etc.","archived":false,"fork":false,"pushed_at":"2025-02-11T22:28:23.000Z","size":582,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-12T22:55:14.075Z","etag":null,"topics":["c","cmake","cplusplus","cpp","fenix","go","golang","linux","nix","nix-flake","nixpkgs","poetry","python","rust","template","template-project","templates","zig"],"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/nulladmin1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2024-10-14T00:26:03.000Z","updated_at":"2025-03-18T06:25:42.000Z","dependencies_parsed_at":"2024-10-17T15:09:19.899Z","dependency_job_id":"7a52cd12-b478-4599-a289-ab2c8f88f6f6","html_url":"https://github.com/nulladmin1/nix-flake-templates","commit_stats":null,"previous_names":["nulladmin1/nix-flake-templates"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nulladmin1%2Fnix-flake-templates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nulladmin1%2Fnix-flake-templates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nulladmin1%2Fnix-flake-templates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nulladmin1%2Fnix-flake-templates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nulladmin1","download_url":"https://codeload.github.com/nulladmin1/nix-flake-templates/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253837400,"owners_count":21971982,"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":["c","cmake","cplusplus","cpp","fenix","go","golang","linux","nix","nix-flake","nixpkgs","poetry","python","rust","template","template-project","templates","zig"],"created_at":"2024-12-14T08:10:19.819Z","updated_at":"2025-05-12T22:55:19.520Z","avatar_url":"https://github.com/nulladmin1.png","language":"Nix","readme":"# ❄️ Nix Flake Templates\n\n[![built with nix](https://builtwithnix.org/badge.svg)](https://builtwithnix.org) [![forthebadge](https://forthebadge.com/images/badges/0-percent-optimized.svg)](https://forthebadge.com)\n\nA collection of Nix Flake Templates\n\n![demo](./demo.gif)\n\n**Contributors, go to [CONTRIBUTING.md](./CONTRIBUTING.md)**\n\n## Table of Contents\n\n- [Usage](#usage)\n- [Examples](#examples)\n\n## Usage\n\nUse [`getflake`](https://github.com/nulladmin1/getflake) to initialize flake (recommended)\n\n```shell\nnix run github:nulladmin1/getflake\n```\n\nOr initialize using\n\n```shell\nnix flake init --template \"github:nulladmin1/nix-flake-templates#${TYPE_KEYWORD}\"\n```\n\nWhere `${TYPE_KEYWORD}` is the supported type keyword of template:\n\n| Type Keyword                        | Type                           | Subdirectory                                 | Documentation                            |\n| ----------------------------------- | ------------------------------ | -------------------------------------------- | ---------------------------------------- |\n| `bash`, `sh`                        | Bash using Nixpkgs Builders    | [bash](bash)                                 | [README](bash/README.md)                 |\n| `bevy`                              | Bevy using Fenix and Crane     | [bevy](bevy)                                 | [README](bevy/README.md)                 |\n| `cpp`, `cpp-cmake`                  | C++ using CMake                | [cpp-cmake](cpp-cmake)                       | [README](cpp-cmake/README.md)            |\n| `default`                           | Development                    | [default](default)                           | [README](default/README.md)              |\n| `flutter`, `flutter-nix`            | Flutter using Nixpkgs Builders | [flutter-nix](flutter-nix)                   | [README](flutter-nix/README.md)          |\n| `go`, `go-gomod2nix`                | Go using gomod2nix             | [go-gomod2nix](go-gomod2nix)                 | [README](go-gomod2nix/README.md)         |\n| `go-nix`                            | Go with Nixpkgs Builders       | [go-nix](go-nix)                             | [README](go-nix/README.md)               |\n| `nixpkgs`                           | Nixpkgs Development            | [nixpkgs](nixpkgs)                           | [README](nixpkgs/README.md)              |\n| `python`, `python-nix`              | Python using Nixpkgs builders  | [python-nix](python-nix)                     | [README](python-nix/README.md)           |\n| `poetry`, `python-poetry`           | Python using Poetry            | [python-poetry](python-poetry)               | [README](python-poetry/README.md)        |\n| `pyproject`, `python-pyproject-nix` | Python using Pyproject-nix     | [python-pyproject-nix](python-pyproject-nix) | [README](python-pyproject-nix/README.md) |\n| `python-uv`, `uv`                   | Python using uv2nix            | [python-uv](python-uv)                       | [README](python-uv/README.md)            |\n| `crane`, `rust`, `rust-fenix-crane` | Rust using Fenix and Crane     | [rust-fenix-crane](rust-fenix-crane)         | [README](rust-fenix-crane/README.md)     |\n| `rust-fenix-naersk`                 | Rust using Fenix and Naersk    | [rust-fenix-naersk](rust-fenix-naersk)       | [README](rust-fenix-naersk/README.md)    |\n| `rust-nix`                          | Rust using Nixpkgs Builders    | [rust-nix](rust-nix)                         | [README](rust-nix/README.md)             |\n| `vim`, `vimPlugins`                 | vimPlugins                     | [vimPlugins](vimPlugins)                     | [README](vimPlugins/README.md)           |\n| `zig`                               | Zig using Nixpkgs Builders     | [zig](zig)                                   | [README](zig/README.md)                  |\n\n## Examples\n\n[`getflake`](https://github.com/nulladmin1/getflake) (using `rust-fenix-naersk`) - A simple to program to automatically instantiate my [Nix-Flake-Templates](https://github.com/nulladmin1/nix-flake-templates)\n\n[`eightQueens`](https://github.com/nulladmin1/eightQueens) (using `cpp-cmake`) - A rendition of the famous [Eight Queens Puzzle](https://en.wikipedia.org/wiki/Eight_queens_puzzle) in `C++`\n\n[`mp2ExtraCredit`](https://github.com/nulladmin1/eightQueens) (using `cpp-cmake`) - A solution of a plague simulation I had to do for Computer Science II, in `C++`\n\n[`josephus-rs`](https://github.com/nulladmin1/josephus-rs) (using `rust-fenix-naersk`) - An implementation of the [Josephus problem](https://en.wikipedia.org/wiki/Josephus_problem) in `Rust`\n\n[`sha256_python_with_tests`](examples/sha256_python_with_tests) - A simple Python program with testcases to encode a user-inputted string in SHA256\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnulladmin1%2Fnix-flake-templates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnulladmin1%2Fnix-flake-templates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnulladmin1%2Fnix-flake-templates/lists"}