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)
(unless (package-installed-p 'use-package)
(progn
(package-refresh-contents)
(package-install 'use-package)))
(if (executable-find "nix")
(message "skipping use-package install")
(else
(unless (package-installed-p 'use-package)
(progn
(package-refresh-contents)
(package-install 'use-package)))
))
(require 'use-package)
(setq use-package-always-ensure t)