Move utility configuration from configuration.org to init.el

This commit is contained in:
Gergely Polonkai 2025-06-03 17:50:18 +02:00
parent 3d4e9a0ecf
commit f724ba27c7
No known key found for this signature in database
GPG Key ID: 38F402C8471DDE93
2 changed files with 37 additions and 63 deletions

View File

@ -1,66 +1,3 @@
* Utilities
** ~kubernetes~, a kubernetes dashboard
#+begin_src emacs-lisp
(use-package kubernetes
:commands (kubernetes-overview))
#+end_src
** ~elpher~, a Gopher/Gemini client
Gopher is the next generation text protocol. Despite its age (40-ish, as of writing), it still
beats the Web in a lot of aspects.
#+begin_src emacs-lisp
(use-package elpher
:commands (elpher))
#+end_src
** ~mastodon~
#+begin_src emacs-lisp
(use-package mastodon
:custom
(mastodon-instance-url "https://social.polonkai.eu/")
(mastodon-active-user "gergely"))
#+end_src
** ~twtxt~
#+begin_src emacs-lisp
(use-package twtxt
:custom
(twtxt-file (expand-file-name "~/Nextcloud/twtxt.txt"))
(twtxt-following '(("benaiah" "https://benaiah.me/twtxt.txt")
("jomo" "https://gist.githubusercontent.com/jomo/64d6bd1b95ec0a24612b/raw/twtxt.txt")
("quite" "https://lublin.se/twtxt.txt")
("xena" "https://xena.greedo.xeserv.us/files/xena.txt")
("hecanjog" "https://hecanjog.com/twtxt.txt"))))
#+end_src
** ~paradox~ for better package management
I dont always use the package menu, but when i do, i want to do it in style…
#+begin_src emacs-lisp
(use-package paradox
:custom
(paradox-lines-per-entry 2)
(paradox-automatically-star t)
(paradox-github-token (nth 1 (auth-source-user-and-password "api.github.com" "gergelypolonkai^paradox")))
:bind
(:map gpolonkai/pers-map
("C-p" . paradox-list-packages)))
#+end_src
** ~tidal~ for improvising music
#+begin_src emacs-lisp
(use-package tidal
:mode "\\.tidal\\'")
#+end_src
* Programming-language specific packages
** Python

37
init.el
View File

@ -1624,6 +1624,43 @@ Intended as a value for `bug-referecne-url-format'."
(use-package flycheck-pkg-config)
;; Utilities
(use-package kubernetes
:commands (kubernetes-overview))
;; Gopher is the next generation text protocol. Despite its age (40-ish, as of
;; writing), it still beats the Web in a lot of aspects.
(use-package elpher
:commands (elpher))
(use-package mastodon
:custom
(mastodon-instance-url "https://social.polonkai.eu/")
(mastodon-active-user "gergely"))
(use-package twtxt
:custom
(twtxt-file (expand-file-name "~/Nextcloud/twtxt.txt"))
(twtxt-following '(("benaiah" "https://benaiah.me/twtxt.txt")
("jomo" "https://gist.githubusercontent.com/jomo/64d6bd1b95ec0a24612b/raw/twtxt.txt")
("quite" "https://lublin.se/twtxt.txt")
("xena" "https://xena.greedo.xeserv.us/files/xena.txt")
("hecanjog" "https://hecanjog.com/twtxt.txt"))))
(use-package paradox
:custom
(paradox-lines-per-entry 2)
(paradox-automatically-star t)
(paradox-github-token (nth 1 (auth-source-user-and-password "api.github.com" "gergelypolonkai^paradox")))
:bind
(:map gpolonkai/pers-map
("C-p" . paradox-list-packages)))
(use-package tidal
:mode "\\.tidal\\'")
;; I started moving my configuration to this Org file. Its easier to document this way.
(org-babel-load-file (expand-file-name "configuration.org" user-emacs-directory))