https://github.com/brokenpip3/my-flake-templates
This repo contains my always updated flake templates
https://github.com/brokenpip3/my-flake-templates
Last synced: about 22 hours ago
JSON representation
This repo contains my always updated flake templates
- Host: GitHub
- URL: https://github.com/brokenpip3/my-flake-templates
- Owner: brokenpip3
- Created: 2024-03-19T23:24:50.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-25T09:07:02.000Z (18 days ago)
- Last Synced: 2025-05-12T21:10:00.590Z (about 22 hours ago)
- Language: Nix
- Homepage: https://www.brokenpip3.com/posts/2024-19-03-flake-template-git-repo/
- Size: 59.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# My flake templates
These are my super opinionated flake templates that will contain a common ground of general utils files.
## Common files
Each template will contain by default:
- [`gitignore`](./common/files/.gitignore)
- [`git-commit-template`](./common/files/.git-commit-template)
- [`.pre-commit-config.yaml`](./common/files/.pre-commit-config.yaml)
- [`taskfile`](./common/files/taskfile.yaml)
- [`.envrc`](./common/files/.envrc)
- [`.editorconfig`](./common/files/.editorconfig)
- [`.dependabot`](./common/files/.github/dependabot.yaml)
- some GitHub actions:
- [`pre-commit` check with flake](./common/files/.github/workflows/ci-pre-commit.yaml)
- TBD## Templates
### Basic with flake
This template will initialize the repo with a simple flake with a minimal devshell to run the CI.
```bash
nix flake init -t github:brokenpip3/my-flake-templates#base
```### Python Poetry
This flake template is designed to package applications using poetry2nix.
```bash
nix flake init -t github:brokenpip3/my-flake-templates#python-poetry
```### Golang gomod
TBD, not yet completed
```bash
nix flake init -t github:brokenpip3/my-flake-templates#golang-gomod
```### Terraform
TBD