spacemacs/layers/+os/nixos/README.org
Benjamin Hipple d4a27babf6 [nixos] add toggle for company-nixos-options
On some Nix setups, company completion via the Nix repl process can be extremely
slow and hang emacs. This commit adds an option toggle to disable it in the
`nixos` layer. The default behavior is unchanged.

Also updates the comment and license headers to be consistent with other layers.
2020-01-12 11:18:00 +01:00

1.3 KiB

NixOS layer

/TakeV/spacemacs/media/commit/d4a27babf67d0c702f33c52ca02cb30cb69ff5fa/layers/+os/nixos/img/nixos.png

Description

This layer adds tools for better integration of Emacs in NixOS.

Features:

Install

Layer

To use this configuration layer, add it to your ~/.spacemacs. You will need to add nixos to the existing dotspacemacs-configuration-layers list in this file.

Configuration

Toggle whether company-nixos-options completion is enabled (defaults to t).

(setq-default dotspacemacs-configuration-layers
              '((nixos :variables nixos-enable-company t)))

Key bindings

NixOS Options

Key binding Description
SPC h > Call helm-nixos-options