Skip to content

Instantly share code, notes, and snippets.

@dhess
Created September 28, 2018 16:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dhess/479b296e3a827ae6a7ec94914517a7d9 to your computer and use it in GitHub Desktop.
Save dhess/479b296e3a827ae6a7ec94914517a7d9 to your computer and use it in GitHub Desktop.
(use-package company
:config
(setq company-global-modes '(not erc-mode))
(add-hook 'after-init-hook 'global-company-mode))
(use-package nix-sandbox
:config
(setq nix-nixpkgs-path (expand-file-name "~/.nix-defexpr/nixpkgs")))
(use-package nix-mode
:mode "\\.nix\\'")
(use-package nixos-options
:config
(use-package company-nixos-options
:ensure company
:config
(add-to-list 'company-backends 'company-nixos-options)))
(use-package nix-update
:ensure nil
:load-path "site-lisp/nix-update"
:bind (("C-. u" . nix-update-fetch)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment