nix

configuration files that power my machines
Log | Files | Refs | README | LICENSE

commit 95ca4547cac0ed8811cd6ec83890de299ec434f9
parent f0d6b84e1aafac95c64157b7596c71da9fb0c28f
Author: mtmn <miro@haravara.org>
Date:   Wed,  6 May 2026 21:05:49 +0200

chore: prek convert cfg to prek.toml

Diffstat:
D.pre-commit-config.yaml | 40----------------------------------------
Aprek.toml | 41+++++++++++++++++++++++++++++++++++++++++
2 files changed, 41 insertions(+), 40 deletions(-)

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml @@ -1,40 +0,0 @@ ---- -exclude: ' hardware-configuration\.nix$|^modules/mixins/dotfiles/config/(?:zsh/plugins)/|^static/' -repos: - - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v6.0.0 - hooks: - - id: trailing-whitespace - - id: end-of-file-fixer - - id: double-quote-string-fixer - - - repo: https://github.com/biomejs/pre-commit - rev: v2.4.10 - hooks: - - id: biome-format - - - repo: https://github.com/gitleaks/gitleaks - rev: v8.30.1 - hooks: - - id: gitleaks - - - repo: https://github.com/astro/deadnix - rev: v1.3.1 - hooks: - - id: deadnix - - - repo: local - hooks: - - id: alejandra - name: alejandra - language: system - entry: alejandra - files: \.nix$ - - - repo: local - hooks: - - id: shellcheck - name: shellcheck - entry: shellcheck - language: system - types: [shell] diff --git a/prek.toml b/prek.toml @@ -0,0 +1,41 @@ +[[repos]] +repo = "https://github.com/pre-commit/pre-commit-hooks" +rev = "v6.0.0" +hooks = [ + { id = "trailing-whitespace" }, + { id = "end-of-file-fixer" }, + { id = "double-quote-string-fixer" } +] + +[[repos]] +repo = "https://github.com/biomejs/pre-commit" +rev = "v2.4.10" +hooks = [ + { id = "biome-format" } +] + +[[repos]] +repo = "https://github.com/gitleaks/gitleaks" +rev = "v8.30.1" +hooks = [ + { id = "gitleaks" } +] + +[[repos]] +repo = "https://github.com/astro/deadnix" +rev = "v1.3.1" +hooks = [ + { id = "deadnix" } +] + +[[repos]] +repo = "local" +hooks = [ + { + id = "alejandra", + name = "alejandra", + language = "system", + entry = "alejandra", + files = '\.nix$' + }, +]