Skip to content

Latest commit

 

History

History
57 lines (47 loc) · 1.83 KB

README.org

File metadata and controls

57 lines (47 loc) · 1.83 KB

lang/nix

Table of Contents

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)

Maintainers

This module has no dedicated maintainers.

Module Flags

This module provides no flags.

Plugins

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 format-all also supports nixfmt so you can use that also to format Nix code, default binding is SPC c f in evil.

Features

Keybindings

BindingDescription
<localleader> bnix-build
<localleader> fnix-update-fetch
<localleader> o+nix/lookup-option
<localleader> pnix-format-buffer
<localleader> rnix-repl-show
<localleader> snix-repl-shell
<localleader> unix-unpack

Configuration

Troubleshooting

  • There aren’t any known problems.