This module adds support for the Nix language to Doom Emacs, along with tools for managing Nix(OS).
Includes:
- Syntax highlighting
- Completion through company and/or helm
- Nix option lookup
- Formatting (
nixfmt
)
- @hlissner
Become a maintainer?
- +tree-sitter
- Leverages tree-sitter for better syntax highlighting and structural text editing. Requires :tools tree-sitter.
- company-nixos-options if :completion company
- helm-nixos-options if :completion helm
- nix-mode
- nix-update
No hacks documented for this module.
This module does not have a changelog yet.
Enable this module in your doom!
block.
This module requires:
- The Nix package manager, for a variety of its features (besides syntax highlighting).
nixfmt
, for automatic formatting (requires :editor format).- MacOS: TODO
- Arch Linux: TODO
- NixOS: in
pkgs.nixfmt
🔨 This module’s usage documentation is incomplete. Complete it?
Binding | Description |
---|---|
<localleader> b | nix-build |
<localleader> f | nix-update-fetch |
<localleader> o | +nix/lookup-option |
<localleader> p | nix-format-buffer |
<localleader> r | nix-repl-show |
<localleader> s | nix-repl-shell |
<localleader> u | nix-unpack |
🔨 This module has no configuration documentation yet. Write some?
There are no known problems with this module. Report one?
This module has no FAQs yet. Ask one?
🔨 This module has no appendix yet. Write one?