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

35 lines
1.1 KiB
Org Mode

#+TITLE: NixOS layer
#+TAGS: layer|os
[[file:img/nixos.jpg]]
* Table of Contents :TOC_5_gh:noexport:
- [[#description][Description]]
- [[#features][Features:]]
- [[#install][Install]]
- [[#layer][Layer]]
- [[#key-bindings][Key bindings]]
- [[#nixos-options][NixOS Options]]
* Description
This layer adds tools for better integration of emacs in NixOS.
** Features:
- Nix-mode using [[https://github.com/NixOS/nix-mode][nix-mode]]
- 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]]
* 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.
* Key bindings
** NixOS Options
| Key binding | Description |
|-------------+-------------------------|
| ~SPC h >~ | Call helm-nixos-options |