add thingy

This commit is contained in:
Sakooooo 2023-12-26 18:31:34 +04:00
parent e57a66fcbd
commit 0ea02d49f4
Signed by: sako
GPG key ID: FE52FD65B76E4751

View file

@ -95,10 +95,14 @@ Should make startup faster, taken from doom-emacs
(package-initialize) (package-initialize)
(if (executable-find "nix")
(message "skipping use-package install")
(else
(unless (package-installed-p 'use-package) (unless (package-installed-p 'use-package)
(progn (progn
(package-refresh-contents) (package-refresh-contents)
(package-install 'use-package))) (package-install 'use-package)))
))
(require 'use-package) (require 'use-package)
(setq use-package-always-ensure t) (setq use-package-always-ensure t)