1
0
Fork 0
nix-flake-template/README.md
2025-07-17 13:16:36 -05:00

1.5 KiB

❄️ Nix Flake template

Template that automatically configures settings for language checking, formatting, and linting to integrate with enabled editors and the project repository.

Features

  • 🧩 flake-parts: Makes the Flake modular and reusable, enabling clean separation of components.
  • treefmt (with Helix integration): Automatically formats the code in this repository when modifying it, with features to check the Flake for formatting consistency.
  • 🏭 direnv: Automatically loads project tools when navigating to the project directory.
  • 📑 Jujutsu: Modern version control system with an improved UX for commits and merges.
  • ⌨️ Devshell: Clean shell management, printing project-specific commands on launch with icons using Nerd Fonts.
  • 💬 Language Server Protocol (LSP): Has language servers for file formats used in this repository; integrates with Helix text editor and fully managed by Nix with each language's configuration in its own file.
  • 📝 Language tools: Checks for grammatical and styling issues using Vale, Harper, LTeX (LanguageTool), and Typos, centralizing the custom dictionary for these tools in the Nix configuration.
  • ⚙️ Git pre-commit hooks: Lints the files before making a commit, both with programming and natural languages.
  • 🏛 REUSE: Simplifies software licensing and checks for errors.