spacemacs/layers/+os/nixos/README.org

40 lines
1.4 KiB
Org Mode
Raw Normal View History

#+TITLE: NixOS layer
2015-07-20 20:11:08 +00:00
2019-05-02 21:49:30 +00:00
#+TAGS: layer|os
[[file:img/nixos.png]]
2015-07-20 20:11:08 +00:00
2019-05-07 20:05:06 +00:00
* Table of Contents :TOC_5_gh:noexport:
2017-05-22 14:16:12 +00:00
- [[#description][Description]]
- [[#features][Features:]]
- [[#install][Install]]
- [[#layer][Layer]]
- [[#configuration][Configuration]]
- [[#key-bindings][Key bindings]]
2017-05-22 14:16:12 +00:00
- [[#nixos-options][NixOS Options]]
2015-07-20 20:11:08 +00:00
* Description
This layer adds tools for better integration of Emacs in NixOS.
2015-07-20 20:11:08 +00:00
** Features:
- Nix-mode using [[https://github.com/NixOS/nix-mode][nix-mode]]
2015-07-20 20:11:08 +00:00
- Auto-completion of NixOS Options using [[https://github.com/travisbhartwell/nix-emacs/blob/master/company-nixos-options.el][company-nixos-options]]
- Helm Lookup for NixOS Options [[https://github.com/travisbhartwell/nix-emacs/blob/master/helm-nixos-options.el][helm-nixos-options]]
2015-07-20 20:11:08 +00:00
* 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.
2015-07-20 20:11:08 +00:00
* Configuration
On some systems, =company-nixos-options= may be very slow. If this is the case,
see the section on disabling the [[https://github.com/syl20bnr/spacemacs/blob/develop/doc/DOCUMENTATION.org#disabling-layer-services-in-other-layers][disabling auto-complete]] for the =nixos= layer.
* Key bindings
2015-07-20 20:11:08 +00:00
** NixOS Options
| Key binding | Description |
2015-07-20 20:11:08 +00:00
|-------------+-------------------------|
| ~SPC h >~ | Call helm-nixos-options |