Commit graph

1519 commits

Author SHA1 Message Date
41e2f321d7 emacs: Replace nano-modeline with minions-mode
The stock modeline still looks kinda sorta ugly, but I'm willing to give
it shot over the bare nano-modeline.

Hopefully this will also allow me to add some more customizations in there.
2023-05-20 12:50:28 +05:30
5d30108980 emacs/meta: few additions to dictionary 2023-05-20 10:20:01 +05:30
8fd21359ef emacs: move breadcrump config to its own heading
Breadcrumbs are useful in non-programming modes e.g. orgmode, so it
makes sense to decouple it from eglot config.
2023-05-20 09:50:57 +05:30
7e8c305ed8 emacs/age: Fix dependency order
This was preventing automatic encryption of daily notes.
2023-05-20 09:48:27 +05:30
7bc137132b emacs: move Gnus to its separate heading 2023-05-20 09:34:43 +05:30
6407eb19f7 flake.lock: 2023_05_20
• Updated input 'emacs-overlay':
'github:nix-community/emacs-overlay/f438072ac6d2a0271a0ac5ad566d9612a9b35bb9' (2023-05-18)
→ 'github:nix-community/emacs-overlay/18bfb00ee5e6fed0ad873bc2702ebf6131a7a4a3' (2023-05-20)
• Updated input 'home-manager':
'github:nix-community/home-manager/59659243cd4ababda605e79b4a9c2e6d83e24c86' (2023-05-17)
→ 'github:nix-community/home-manager/b9a52ad20e58ebd003444915e35e3dd2c18fc715' (2023-05-19)
• Updated input 'nixpkgs':
'github:nixos/nixpkgs/48a0fb7aab511df92a17cf239c37f2bd2ec9ae3a' (2023-05-18)
→ 'github:nixos/nixpkgs/5b1bc788f578cd83d54b48bb057d6f6703ae7725' (2023-05-19)
2023-05-20 09:14:41 +05:30
d6d07a90dd emacs/org: do not add separate heading for footnotes
My exclusive use of footnotes is via ox-hugo, and a separate heading is
not really compatible with my theme
2023-05-20 00:33:57 +05:30
eb0ae3e542 emacs: Add new capture template 'public'
it is exactly same as 'default', but it will not be auto-encrypted by
age.el.
2023-05-19 23:32:17 +05:30
7c3862e232 emacs: Automate age-encryption for default, social and daily nodes
This will only affect new nodes, but existing nodes can be encrypted
with `M-x bhankas-org-age-encrypt-and-replace`
2023-05-19 23:28:29 +05:30
793a6940a5 emacs: Add a template for org-roam to add secrets 2023-05-19 20:48:18 +05:30
68cab83a47 emacs: Enable age encrypted file support 2023-05-19 20:21:55 +05:30
2494f7bb79 emacs: use RET to invoke cchatgpt-send 2023-05-19 19:00:53 +05:30
f4c14e3354 emacs: Setup global shortcuts early 2023-05-19 14:14:17 +05:30
7bac90dc6f emacs: replace use-package with use-package! 2023-05-19 14:14:00 +05:30
25e3838898 emacs: Enable global dash fontify mode
It is supposed to be fontifying the nice dash macros in emacs-lisp mode.

I don't see much difference, but oh well.. we'll see
2023-05-18 23:53:56 +05:30
b7d63821ab emacs: minor syntax change
I've always known that doom uses dash.el and f.el underneath, and many
many other packages do too, but never really paid much attention there.

But after a (very) brief stint with Clojure, I'm liking the left->right
flow that these higher level functions offer. I've already started to
abuse them in Java, but they are much more natural in lisps. I can see
why Clojurians spam them everywhere.

I know that they are slower than the builtins, but using these higher
level APIs is such a nice development and reading exerience, that I'm
going to try abusing them more now. They are a bit out-of-place for
idiomatic elisp, but here we go.
2023-05-18 23:40:06 +05:30
2be0abce10 emacs: set read-mail-command variable right after emacs loads
So now we don't need to wait for mu4e to load first, and the command is
now also explicitly auto-loaded
2023-05-18 23:34:21 +05:30
5271b4b98e emacs: Rename last top level heading 2023-05-18 23:25:49 +05:30
02854596aa emacs: Change keybind for gptel 2023-05-18 23:19:20 +05:30
37bec4cb64 Calibre: Add module and enable for both hermes and bebop 2023-05-18 22:36:14 +05:30
6311aff07d emacs: load dash.el before gptel 2023-05-18 22:21:44 +05:30
8cf2aec09f monitoring: Add new exporters and their scraping for Prometheus
- Systemd
- influxdb
- pihole
2023-05-18 22:15:03 +05:30
7b254da83d syncthing: More api updated 2023-05-18 22:14:42 +05:30
f40ad133e6 emacs: whitespace changes only 2023-05-18 22:09:31 +05:30
92042868d1 syncthing: Update deprecated NixOS module attributes 2023-05-18 22:04:32 +05:30
1d6b4f65b6 flake.lock: 2023_05_18
• Updated input 'emacs-overlay':
'github:nix-community/emacs-overlay/0da5effdc8bef9bbfb4938ccb8a21dd22f47760f' (2023-05-17)
→ 'github:nix-community/emacs-overlay/f438072ac6d2a0271a0ac5ad566d9612a9b35bb9' (2023-05-18)
• Updated input 'nixpkgs':
'github:nixos/nixpkgs/963006aab35e3e8ebbf6052b6bf4ea712fdd3c28' (2023-05-16)
→ 'github:nixos/nixpkgs/48a0fb7aab511df92a17cf239c37f2bd2ec9ae3a' (2023-05-18)
2023-05-18 21:57:50 +05:30
9ff2b691cc emacs+hermes: load chatgpt api key from age-managed file 2023-05-18 21:56:13 +05:30
53c681128b emacs: configure gptel for my taste 2023-05-18 17:39:24 +05:30
f256ad1fa4 emacs: Use setq! macro from doom instead of stock setq
Its supposed to be better than setopt and a drop in replacement for setq.
2023-05-18 17:29:47 +05:30
5c42696fd9 emacs: Add gptel package by karthink
To use ChatGPT from within Emacs. This removes the problem of having to
switch away from Emacs, as well as gives better prompt customizability
as API is more flexible than their stupid Chat interface.

Lets see how this one goes..
2023-05-18 17:27:33 +05:30
818de3cfb4 emacs: Add goggles mode by minad 2023-05-18 17:26:38 +05:30
4d3db35962 emacs: minor changes 2023-05-18 13:28:31 +05:30
83726ed0ce flake.lock: 2023_05_17
• Updated input 'emacs-overlay':
'github:nix-community/emacs-overlay/9b41f8296a3898bdb87b9d091f9df540a982b242' (2023-05-15)
→ 'github:nix-community/emacs-overlay/0da5effdc8bef9bbfb4938ccb8a21dd22f47760f' (2023-05-17)
• Updated input 'home-manager':
'github:nix-community/home-manager/c0deab0effd576e70343cb5df0c64428e0e0d010' (2023-05-15)
→ 'github:nix-community/home-manager/59659243cd4ababda605e79b4a9c2e6d83e24c86' (2023-05-17)
• Updated input 'nixpkgs':
'github:nixos/nixpkgs/0470f36b02ef01d4f43c641bbf07020bcab71bf1' (2023-05-14)
→ 'github:nixos/nixpkgs/963006aab35e3e8ebbf6052b6bf4ea712fdd3c28' (2023-05-16)
2023-05-17 18:09:09 +05:30
7fad657335 emacs: Enable minibuffer-depth-indicate-mode 2023-05-17 13:43:20 +05:30
c3ca54be60 grafana: Disable analytics
I'm surprised at Nixpkgs keeping them enabled by default :(
2023-05-17 00:15:26 +05:30
e504c9f226 emacs: Add and enable 'devil' package
Devil intercepts and interprets ',' as Ctr. It seems to make sense, and
work quite well, especially because I can observe it not being much of
an annoyance just while writing this message.

Anyway, it has potential to reduce number of keypresses and especially
number of keypresses where both hands are involved significantly,
particularly around scrolling and movement.
2023-05-17 00:12:25 +05:30
4b2b429052 common: Enable Atuin integration
shell history backed by sqlite database and spruced up with colorful
interface.

It is a direct replacement for fzf in that regard, and seems to work
quite well, albeit does not interact with fzf satisfactorily. So this is
an experiment to see how it goes.

It also provides syncing of shell history, with end-to-end encryption,
so that's something I'm looking forward to. Let's see how it goes.
2023-05-16 13:03:08 +05:30
9dfcd6bc0a flake.lock: 2023_05_15
• Updated input 'agenix':
'github:ryantm/agenix/2994d002dcff5353ca1ac48ec584c7f6589fe447' (2023-04-21)
→ 'github:ryantm/agenix/db5637d10f797bb251b94ef9040b237f4702cde3' (2023-05-15)
• Added input 'agenix/home-manager':
'github:nix-community/home-manager/32d3e39c491e2f91152c84f8ad8b003420eab0a1' (2023-04-22)
• Added input 'agenix/home-manager/nixpkgs':
follows 'agenix/nixpkgs'
• Updated input 'emacs-overlay':
'github:nix-community/emacs-overlay/2948ffc1d2d9ca9bcb22297234dadd369633e87b' (2023-05-11)
→ 'github:nix-community/emacs-overlay/9b41f8296a3898bdb87b9d091f9df540a982b242' (2023-05-15)
• Updated input 'home-manager':
'github:nix-community/home-manager/010c26987729d6a2e0e19da6df7c3f0465ae03b3' (2023-05-10)
→ 'github:nix-community/home-manager/c0deab0effd576e70343cb5df0c64428e0e0d010' (2023-05-15)
• Updated input 'nixos-hardware':
'github:NixOS/nixos-hardware/51559e691f1493a26f94f1df1aaf516bb507e78b' (2023-05-05)
→ 'github:NixOS/nixos-hardware/71ce85372a614d418d5e303dd5702a79d1545c04' (2023-05-15)
• Updated input 'nixpkgs':
'github:nixos/nixpkgs/897876e4c484f1e8f92009fd11b7d988a121a4e7' (2023-05-06)
→ 'github:nixos/nixpkgs/0470f36b02ef01d4f43c641bbf07020bcab71bf1' (2023-05-14)
2023-05-15 23:28:15 +05:30
763933ca27 emacs: Add breadcrumb mode by Joao Tavora 2023-05-14 22:43:27 +05:30
258ae4edc8 flake.lock: 2023_05_11
• Updated input 'deploy-rs':
'github:serokell/deploy-rs/6b0b6a1c2527e8b1ef370a308b6ef8903004ac47' (2023-05-05)
→ 'github:serokell/deploy-rs/c80189917086e43d49eece2bd86f56813500a0eb' (2023-05-11)
• Updated input 'emacs-overlay':
'github:nix-community/emacs-overlay/e0b9cb722b80f55bb6f851a3f61e52b9247917e7' (2023-05-06)
→ 'github:nix-community/emacs-overlay/2948ffc1d2d9ca9bcb22297234dadd369633e87b' (2023-05-11)
• Updated input 'home-manager':
'github:nix-community/home-manager/669669fcb403e3137dfe599bbcc26e60502c3543' (2023-05-05)
→ 'github:nix-community/home-manager/010c26987729d6a2e0e19da6df7c3f0465ae03b3' (2023-05-10)
• Updated input 'nixpkgs':
'github:nixos/nixpkgs/3e313808bd2e0a0669430787fb22e43b2f4bf8bf' (2023-05-05)
→ 'github:nixos/nixpkgs/897876e4c484f1e8f92009fd11b7d988a121a4e7' (2023-05-06)
2023-05-11 11:24:58 +05:30
ca0d9b86f4 mu4e: Minor layout adjustment 2023-05-11 11:05:53 +05:30
6ca2aea277 mu4e: Change columns shown in headers view 2023-05-08 09:46:06 +05:30
b76c7357cb mu4e: only load custom queries if the file exists 2023-05-06 11:57:17 +05:30
2a1094a450 mu4e: trying out vertical split for mail view
I remember disabling this way back when trying out mu4e for first time,
but I'm kinda tired of horizontal splits and constant window height
adjustment. This will need some tuning, probably around column order,
but I think it will be doable.
2023-05-06 11:46:45 +05:30
80ca2e344b mu4e: Update config with new options in 1.10 2023-05-06 11:38:56 +05:30
7404dac13c flake.lock: 2023_05_06
• Updated input 'emacs-overlay':
'github:nix-community/emacs-overlay/1368f04fa0fe140d6aeda411e08f51cea8a86e8d' (2023-05-05)
→ 'github:nix-community/emacs-overlay/e0b9cb722b80f55bb6f851a3f61e52b9247917e7' (2023-05-06)
• Updated input 'home-manager':
'github:nix-community/home-manager/38271ead8e7b291beb9d3b8312e66c3268796c0a' (2023-05-05)
→ 'github:nix-community/home-manager/669669fcb403e3137dfe599bbcc26e60502c3543' (2023-05-05)
• Updated input 'nixpkgs':
'github:nixos/nixpkgs/0d8145a5d81ebf6698077b21042380a3a66a11c7' (2023-05-04)
→ 'github:nixos/nixpkgs/3e313808bd2e0a0669430787fb22e43b2f4bf8bf' (2023-05-05)
2023-05-06 10:45:48 +05:30
481e61178c flake.lock: 2023_05_05
• Updated input 'deploy-rs':
'github:serokell/deploy-rs/c2ea4e642dc50fd44b537e9860ec95867af30d39' (2023-04-21)
→ 'github:serokell/deploy-rs/6b0b6a1c2527e8b1ef370a308b6ef8903004ac47' (2023-05-05)
• Updated input 'emacs-overlay':
'github:nix-community/emacs-overlay/b9322bb77735b382ebc85fd49d2e7cd27c494ebe' (2023-05-01)
→ 'github:nix-community/emacs-overlay/1368f04fa0fe140d6aeda411e08f51cea8a86e8d' (2023-05-05)
• Updated input 'home-manager':
'github:nix-community/home-manager/3144311f31194b537808ae6848f86f3dbf977d59' (2023-04-29)
→ 'github:nix-community/home-manager/38271ead8e7b291beb9d3b8312e66c3268796c0a' (2023-05-05)
• Updated input 'nixos-hardware':
'github:NixOS/nixos-hardware/e4a21ddcb45ee5f5c85a5d9e9698debf77fb98c3' (2023-04-30)
→ 'github:NixOS/nixos-hardware/51559e691f1493a26f94f1df1aaf516bb507e78b' (2023-05-05)
• Updated input 'nixos-wsl':
'github:nix-community/NixOS-WSL/f3b6f6b04728416c64fc5ef52199fd9b9843c47d' (2023-04-15)
→ 'github:nix-community/NixOS-WSL/c5d7db84c422be515dac8fc26420900c349374e8' (2023-05-01)
• Updated input 'nixos-wsl/flake-utils':
'github:numtide/flake-utils/93a2b84fc4b70d9e089d029deacc3583435c2ed6' (2023-03-15)
→ 'github:numtide/flake-utils/cfacdce06f30d2b68473a46042957675eebb3401' (2023-04-11)
• Added input 'nixos-wsl/flake-utils/systems':
'github:nix-systems/default/da67096a3b9bf56a91d16901293e51ba5b49a27e' (2023-04-09)
• Updated input 'nixpkgs':
'github:nixos/nixpkgs/08e4dc3a907a6dfec8bb3bbf1540d8abbffea22b' (2023-04-29)
→ 'github:nixos/nixpkgs/0d8145a5d81ebf6698077b21042380a3a66a11c7' (2023-05-04)
2023-05-05 15:56:07 +05:30
28834d889d mu4e: do not destroy window layout when opening mu4e
This will only take effect starting mu4e 1.10+, but its nice to have it
here, courtesy of https://irreal.org/blog/?p=11323
2023-05-02 21:44:24 +05:30
bab395a434 org/mu4e: Add a stock capture template to add reminder to emails on next day 2023-05-02 20:07:53 +05:30
c1e589bdf6 flake.lock: 2023_05_01
• Updated input 'emacs-overlay':
'github:nix-community/emacs-overlay/0b6c10ab19e79fd85c1bb3ea29c38eb5db464e0c' (2023-04-30)
→ 'github:nix-community/emacs-overlay/b9322bb77735b382ebc85fd49d2e7cd27c494ebe' (2023-05-01)
• Updated input 'nixpkgs':
'github:nixos/nixpkgs/937a9d1ee7b1351d8c55fff6611a8edf6e7c1c37' (2023-04-28)
→ 'github:nixos/nixpkgs/08e4dc3a907a6dfec8bb3bbf1540d8abbffea22b' (2023-04-29)
2023-05-01 09:51:48 +05:30