No description
Find a file
2026-01-28 16:14:20 +10:00
examples move examples to root 2026-01-24 23:18:35 +10:00
flake fix nt depends on pipe-operators 2026-01-28 08:49:21 +10:00
nt add prefix/suffix/surround 2026-01-28 16:14:20 +10:00
scripts add ferror script to parse nix-unit stderr 2026-01-27 17:48:11 +10:00
tests fix broken tests 2026-01-28 13:52:54 +10:00
.gitignore migrate to nt 2026-01-24 19:01:29 +10:00
flake.lock progress flake.lock 2026-01-28 08:48:31 +10:00
flake.nix fix broken tests 2026-01-28 13:52:54 +10:00
LICENSE add LICENSE 2025-12-14 13:52:42 +10:00
README.md nt README.md 2026-01-25 09:36:15 +10:00

NixTypes (nt)

Conventions

  1. Avoid the with keyword like your life depends on it!! Every LSP I've tried has handled them terribly. Not to mention it absolutely pollutes the scoped namespace ;-; Just stick to writing out let ... in. And iff you absolutely need it to condense code in a meaningful way, then isolate its use to a very very small scope. Not your entire file!
  2. All names/identifiers should be written in camelCase, except "Types" (aka specifically structured attribute sets). Which should be written in PascalCase. Typeclasses should be written in PascalCaseWithApostrophe'.