hqewrgoijp

This commit is contained in:
Sakooooo 2023-12-26 21:44:46 +04:00
parent 44fd820e9b
commit 2394ed5d56
Signed by: sako
GPG key ID: FE52FD65B76E4751

View file

@ -107,11 +107,13 @@ Should make startup faster, taken from doom-emacs
(let (os-name (get-distro-or-os))
(if (string= os-name "NixOS")
(message "skipping use-package installation")
(unless (package-installed-p 'use-package)
(message "skipping use-package installation"))
(if (os-name)
(unless (package-installed-p 'use-package)
(progn
(package-refresh-contents)
(package-install 'use-package)))))
(require 'use-package)
(setq use-package-always-ensure t)
#+end_src