Disable use-package-always-ensure for NixOS
This commit is contained in:
parent
bb8709efe6
commit
c97d1a0828
2
init.el
2
init.el
|
@ -5,7 +5,7 @@
|
||||||
'("melpa" . "https://melpa.org/packages/"))
|
'("melpa" . "https://melpa.org/packages/"))
|
||||||
(package-initialize))
|
(package-initialize))
|
||||||
|
|
||||||
(setq use-package-always-ensure t
|
(setq use-package-always-ensure (not (file-exists-p "/nix"))
|
||||||
use-package-always-defer t
|
use-package-always-defer t
|
||||||
use-package-expand-minimally t)
|
use-package-expand-minimally t)
|
||||||
(require 'use-package)
|
(require 'use-package)
|
||||||
|
|
Loading…
Reference in a new issue