diff --git a/config/emacs/emacs.org b/config/emacs/emacs.org index d5a64a6b..6ed190ff 100644 --- a/config/emacs/emacs.org +++ b/config/emacs/emacs.org @@ -509,8 +509,12 @@ make sure to setup authinfo #+end_src ***** Nix #+begin_src emacs-lisp -(use-package nix-mode - :mode "\\.nix\\'") + (use-package nix-mode + :mode "\\.nix\\'") + (use-package nixos-options) + (use-package ivy-nixos-options) + (use-package company-nixos-options) + (add-to-list 'company-backends 'company-nixos-options) #+end_src *** Commenter #+begin_src emacs-lisp diff --git a/config/emacs/init.el b/config/emacs/init.el index 7f561101..35a4f98e 100644 --- a/config/emacs/init.el +++ b/config/emacs/init.el @@ -434,7 +434,11 @@ :hook (js2-mode . lsp-deferred)) (use-package nix-mode - :mode "\\.nix\\'") + :mode "\\.nix\\'") +(use-package nixos-options) +(use-package ivy-nixos-options) +(use-package company-nixos-options) +(add-to-list 'company-backends 'company-nixos-options) (use-package evil-nerd-commenter :bind ("M-/" . evilnc-comment-or-uncomment-lines))