:lang nix

I hereby declare “nix geht mehr!”

1. Description

Adds many tools for Nix(OS) users in nice package for Doom users.

  • Syntax highlighting
  • Completion through company / helm
  • Nix option lookup
  • Formatting (nixfmt)

1.1. Maintainers

This module has no dedicated maintainers. Become a maintainer?

1.2. Module flags

This module has no flags.

1.3. Packages

1.4. Hacks

No hacks documented for this module.

2. Prerequisites

  • nixfmt is required to use formatting
    • If you have Nix(OS) installed it can be installed through Nix configuration environment.systemPackages = with pkgs; [ nixfmt ]; (recommended)
    • Or through nix-env $ nix-env -iA nixpkgs.nixfmt
    • Or through nix-shell $ nix-shell -f https://github.com/serokell/nixfmt/archive/master.tar.gz -i
  • :editor format’s format-all also supports nixfmt so you can use that also to format Nix code, default binding is SPC c f in evil.

3. TODO Usage

This module’s usage documentation is incomplete. Complete it?

3.1. Keybindings

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

4. TODO Configuration

This module has no configuration documentation yet. Write some?

5. Troubleshooting

There are no known problems with this module. Report one?

6. TODO Appendix

This module has no appendix yet. Write one?