From 9882dc0c80fa0bcad5c3614c9a47b7c7346b7676 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Fri, 15 Sep 2023 16:42:59 +0000 Subject: [PATCH] what" --- config/emacs/emacs.org | 8 ++++++-- config/emacs/init.el | 6 +++++- 2 files changed, 11 insertions(+), 3 deletions(-) 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))