style-guide

Installation
SKILL.md

Style Guidelines

NixOS/Home-Manager Style

  • Use 2-space indentation in all files
  • Format Nix files with nixfmt
  • Follow functional programming patterns
  • Group related settings in modules
  • Use descriptive names for options
  • Document non-obvious settings with comments
  • When creating new files for Nix flakes, ensure they are tracked by git before testing with nix commands
    • Untracked files can cause errors like "path '/nix/store/hash-source/path/to/file' does not exist"
    • Solution: Track files without staging using git add --intent-to-add path/to/file or git add -N path/to/file

Neovim Style

Installs
5
Repository
cgeorgii/dots
First Seen
Feb 9, 2026
style-guide — cgeorgii/dots