diff --git a/.gitignore b/.gitignore index b2be92b..9302510 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,4 @@ result +.direnv/ +.envrc/ +.task/ diff --git a/README.md b/README.md index 5d82a7d..a559b32 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ doas nixos-rebuild switch --flake ".#mrmeeseeks" ## Update manual packages from github -Somes of module use `fetchFromGithub` who need *SHA-256* hash to meet +Some modules use `fetchFromGithub` who need *SHA-256* hash to meet reproductibility. Theses hashed can be obtain with `nix-prefetch-github`: ```shell @@ -33,4 +33,4 @@ $ nix-prefetch-ghithub --rev v1.22.0 sindresorhus pure } ``` -In this example whe have obtained the hash for the specific 1.22.0 version. +In this example we have obtained the hash for the specific 1.22.0 version. diff --git a/_typos.toml b/_typos.toml new file mode 100644 index 0000000..e5c26af --- /dev/null +++ b/_typos.toml @@ -0,0 +1,3 @@ +[default.extend-words] +doas = "doas" +edn = "edn" diff --git a/lefthook.yaml b/lefthook.yaml index ced9740..76a8dd0 100644 --- a/lefthook.yaml +++ b/lefthook.yaml @@ -4,8 +4,15 @@ no_tty: true commit-msg: commands: - lint:commitmsg: + lint:convco: run: cat {1} | convco check --from-stdin + lint:typos: + run: cat {1} | typos - +pre-commit: + parallel: false + commands: + lint:typos:staged_files: + run: typos {staged_files} pre-push: parallel: false commands: