Manage majority of packages with guix, leaving straight only for missing ones.
This commit is contained in:
@@ -37,7 +37,6 @@
|
|||||||
(after-init . doom-modeline-mode))
|
(after-init . doom-modeline-mode))
|
||||||
|
|
||||||
(use-package dashboard
|
(use-package dashboard
|
||||||
:straight t
|
|
||||||
:config
|
:config
|
||||||
(dashboard-setup-startup-hook))
|
(dashboard-setup-startup-hook))
|
||||||
|
|
||||||
@@ -58,11 +57,12 @@
|
|||||||
(setq pdf-view-midnight-colors '("#DCDCCC" . "#3F3F3F"))))
|
(setq pdf-view-midnight-colors '("#DCDCCC" . "#3F3F3F"))))
|
||||||
|
|
||||||
(use-package saveplace-pdf-view
|
(use-package saveplace-pdf-view
|
||||||
|
:straight t
|
||||||
:config
|
:config
|
||||||
(save-place-mode 1))
|
(save-place-mode 1))
|
||||||
|
|
||||||
;; Disk usage analyzer
|
;; Disk usage analyzer
|
||||||
(use-package disk-usage)
|
;(use-package disk-usage)
|
||||||
|
|
||||||
;; Mail reader
|
;; Mail reader
|
||||||
;; This package was installed with debian, I hope this works
|
;; This package was installed with debian, I hope this works
|
||||||
@@ -82,7 +82,7 @@
|
|||||||
; (mu4e-dashboard :type git :host github :repo "rougier/mu4e-dashboard"))
|
; (mu4e-dashboard :type git :host github :repo "rougier/mu4e-dashboard"))
|
||||||
|
|
||||||
;; Orthodox file browser
|
;; Orthodox file browser
|
||||||
(use-package sunrise-commander)
|
;;(use-package sunrise-commander)
|
||||||
;; open files in external applications
|
;; open files in external applications
|
||||||
;;(use-package openwith
|
;;(use-package openwith
|
||||||
;; :config
|
;; :config
|
||||||
@@ -94,16 +94,17 @@
|
|||||||
;; Read feeds
|
;; Read feeds
|
||||||
(use-package elfeed)
|
(use-package elfeed)
|
||||||
;; elfeed dashboard
|
;; elfeed dashboard
|
||||||
(use-package elfeed-dashboard
|
;;(use-package elfeed-dashboard
|
||||||
:straight
|
;; :straight
|
||||||
(elfeed-dashboard :type git :host github :repo "Manoj321/elfeed-dashboard")
|
;; (elfeed-dashboard :type git :host github :repo "Manoj321/elfeed-dashboard")
|
||||||
:config
|
;; :config
|
||||||
(setq elfeed-dashboard-file "~/.emacs.d/elfeed-dashboard.org")
|
;; (setq elfeed-dashboard-file "~/.emacs.d/elfeed-dashboard.org")
|
||||||
;; update feed counts on elfeed-quit
|
;; update feed counts on elfeed-quit
|
||||||
(advice-add 'elfeed-search-quit-window :after #'elfeed-dashboard-update-links))
|
;; (advice-add 'elfeed-search-quit-window :after #'elfeed-dashboard-update-links))
|
||||||
|
|
||||||
;; Write gemtext
|
;; Write gemtext
|
||||||
(use-package gemini-mode)
|
(use-package gemini-mode
|
||||||
|
:straight t)
|
||||||
|
|
||||||
;; Interface with guix package manager
|
;; Interface with guix package manager
|
||||||
(use-package guix)
|
(use-package guix)
|
||||||
@@ -124,7 +125,7 @@
|
|||||||
(use-package lsp-mode)
|
(use-package lsp-mode)
|
||||||
|
|
||||||
;;R
|
;;R
|
||||||
(use-package auto-complete)
|
;;(use-package auto-complete)
|
||||||
(use-package ess
|
(use-package ess
|
||||||
:config
|
:config
|
||||||
(load "~/.emacs.d/elisp/ess-setup.el"))
|
(load "~/.emacs.d/elisp/ess-setup.el"))
|
||||||
@@ -146,16 +147,16 @@
|
|||||||
(load "~/.emacs.d/elisp/typescript.el"))
|
(load "~/.emacs.d/elisp/typescript.el"))
|
||||||
|
|
||||||
;;Purescript
|
;;Purescript
|
||||||
(use-package psc-ide
|
;(use-package psc-ide
|
||||||
:config
|
; :config
|
||||||
(load "~/.emacs.d/elisp/purescript.el"))
|
; (load "~/.emacs.d/elisp/purescript.el"))
|
||||||
|
|
||||||
(use-package org-brain
|
;(use-package org-brain
|
||||||
:disabled
|
; :disabled
|
||||||
:init
|
; :init
|
||||||
(setq org-brain-path "~/repos/csphy/drafts")
|
; (setq org-brain-path "~/repos/csphy/drafts")
|
||||||
:config
|
; :config
|
||||||
(load "~/.emacs.d/elisp/org-brain-setup.el"))
|
; (load "~/.emacs.d/elisp/org-brain-setup.el"))
|
||||||
|
|
||||||
;;Geiser
|
;;Geiser
|
||||||
(use-package geiser)
|
(use-package geiser)
|
||||||
@@ -166,7 +167,7 @@
|
|||||||
:config
|
:config
|
||||||
(setq inferior-lisp-program "clisp"))
|
(setq inferior-lisp-program "clisp"))
|
||||||
|
|
||||||
;;Rust
|
;; Rust
|
||||||
(use-package rust-mode
|
(use-package rust-mode
|
||||||
:config
|
:config
|
||||||
(load "~/.emacs.d/elisp/rust-setup.el"))
|
(load "~/.emacs.d/elisp/rust-setup.el"))
|
||||||
@@ -179,12 +180,12 @@
|
|||||||
|
|
||||||
;; Python
|
;; Python
|
||||||
(use-package elpy
|
(use-package elpy
|
||||||
:ensure t
|
|
||||||
:init
|
:init
|
||||||
(elpy-enable))
|
(elpy-enable)
|
||||||
|
:config
|
||||||
|
(add-to-list 'process-coding-system-alist '("python" . (utf-8 . utf-8))))
|
||||||
|
|
||||||
;(use-package lsp-pyright
|
;(use-package lsp-pyright
|
||||||
; :ensure t
|
|
||||||
; :hook (python-mode . (lambda ()
|
; :hook (python-mode . (lambda ()
|
||||||
; (require 'lsp-pyright)
|
; (require 'lsp-pyright)
|
||||||
; (lsp)))) ; or lsp-deferred
|
; (lsp)))) ; or lsp-deferred
|
||||||
@@ -192,7 +193,8 @@
|
|||||||
|
|
||||||
;;Ivy related stuff
|
;;Ivy related stuff
|
||||||
(use-package ivy)
|
(use-package ivy)
|
||||||
(use-package ivy-bibtex)
|
(use-package ivy-bibtex
|
||||||
|
:straight t)
|
||||||
(use-package counsel)
|
(use-package counsel)
|
||||||
(use-package swiper)
|
(use-package swiper)
|
||||||
(load "~/.emacs.d/elisp/ivy-setup.el")
|
(load "~/.emacs.d/elisp/ivy-setup.el")
|
||||||
|
|||||||
6
init.el
6
init.el
@@ -15,8 +15,10 @@
|
|||||||
(load bootstrap-file nil 'nomessage))
|
(load bootstrap-file nil 'nomessage))
|
||||||
|
|
||||||
;; Always use straight.el to install packages with use-package
|
;; Always use straight.el to install packages with use-package
|
||||||
(straight-use-package 'use-package)
|
;;(straight-use-package 'use-package)
|
||||||
(setq straight-use-package-by-default t)
|
(eval-when-compile
|
||||||
|
(require 'use-package))
|
||||||
|
;(setq straight-use-package-by-default t)
|
||||||
|
|
||||||
;; Minimal package.el use so we can explore melpa packages
|
;; Minimal package.el use so we can explore melpa packages
|
||||||
(require 'package)
|
(require 'package)
|
||||||
|
|||||||
Reference in New Issue
Block a user