Commit graph

906 commits

Author SHA1 Message Date
44b5455ee8 cloudflared: initial config 2023-06-02 21:22:53 +05:30
66ed44c0b1 emacs: enable vc and vc-gutter modules
I disabled them on previous machine with spinning rust. This
machine (hermes) with SSD has proven capable of handling much higher
filesystem throughput, so I'm pushing it to see how far I can go without
impeding experience.
2023-06-02 19:04:39 +05:30
57eda0f3c3 emacs: Keep tags on archived headings 2023-06-02 11:19:06 +05:30
6673436bf3 Add hosts entries and fish abbrev for titan and lapetus
titan and lapetus are first of two new Raspberry Pi Zero Ws.

While quite anemic and decidedly incapable of running modern NixOS, they
still run Debian well enough, and are still full computers in their own
right.

So they get hostnames, the first of two moons in solar system, starting
from Saturn (should last a while :p), by ascending order of their year
of discovery. After Saturn, it'll be Jupyter, Uranus, Neptune, and then
back inwards starting from Mars. Luna will be last (if we ever manage to
get that far :p)
2023-06-02 01:24:55 +05:30
d204e74648 remove emacs-overlay
emacs29-pgtk is now available from NixOS-unstable directly.

the overlay still provides some updates, like more frequent ELPA/MELPA
package updates, but they are incompatible with how doom manages package
updates anyway. I might think about bringin back the overlay without
emacs itself in future, but for now, I'm getting off the bandwagon.

The plan was and still is to get off of overlay and emacs unstable
completely. While the run was pretty good, I consider Emacs to be part
of my digital infrastructure now, and having it broken means bad news.
Removing overlay and going back to stable branch just means reducing the
number of moving pieces, having more eyes on common friction points and
faster resolution. Hope this works as well as I'm expecting now.
2023-06-02 01:02:45 +05:30
4fe0b2e9e5 emacs: Add and enable combobulate package
..by Mickey Patterson, of Mastering Emacs fame.

The package is supposed to provide finer and nicer structural editing
experience, aided by new treesit(*-ts)-modes, but currently, I use none.

The only tree-sitter mode I currently use extensively is nix-mode, and
it integrates using external tree-sitter module, so as of this commit,
combobulate is fairly useless for me.

Now, doom's development has slowed down significantly, and I foresee
problems on the horizon with these new hodgpodge of tree-sitter modules,
so we'll see.
2023-06-01 14:51:02 +05:30
8043c73c4d emacs: enable terraform module
Because now I can actually use TRAMP to edit HCL files on new pi zero
cluster, and syntax highlight is nice to have
2023-05-31 21:50:34 +05:30
4639f26a3d eglot: change project separator 2023-05-28 19:56:25 +05:30
485b03736c emacs: Add all tree-sitter grammars 2023-05-28 18:07:46 +05:30
7b557a0264 emacs: enable consult-preview-at-point-mode 2023-05-28 18:05:27 +05:30
c716951f29 Syncthing: update for upstream option change 2023-05-28 16:20:10 +05:30
34a91b32a2 bebop: add bebop in hosts file
Because outline and dex have very hardcoded configs <facepalm>
2023-05-27 19:55:08 +05:30
986588255f wiki: Enable minio and add a new secret key for the same 2023-05-27 18:03:13 +05:30
8908c686f6 secrets: Correct path for minio.age 2023-05-27 15:18:44 +05:30
d4fc012ffb emacs/gptel: Move to next heading when done loading response 2023-05-27 12:52:56 +05:30
5b9864a639 wiki: Disable outline, Add minio 2023-05-25 18:02:53 +05:30
9b0423f4df bebop: More stupid changes for outline 2023-05-24 22:45:19 +05:30
803f644b73 bebop: Allow unfree because getoutline.com has stupid license 2023-05-24 22:42:14 +05:30
d2aa0a9b75 emacs: Enable exercism package 2023-05-23 15:56:03 +05:30
7c782197a8 emacs/org: Enable speed commands
This is an experiment to try out built in fast movement in org-mode, and
these keys are only active when the cursor is at the very beginning of a
heading.

Since movement within org doc has always been something I've sucked at,
perhaps this will help.
2023-05-23 15:54:36 +05:30
5829939d38 emacs: Add org-footnote-assistant
There is a change this will get integrated upstream, in which case this
config can be removed.
2023-05-23 15:31:03 +05:30
2a245a70ee emacs/ox-hugo: Customize 2023-05-23 14:27:35 +05:30
1e6061dc3b emacs: Remove devil-mode
It is useful, but I don't find myself using it very much.

One nice thing is that it uses Emacs keybindings itself, so learning
anything new is not required, but I just don't find myself using it
really.

Maybe someday meow will have a good module with doom and then I will
like that. Oh well..
2023-05-21 19:32:33 +05:30
d29a315ed5 emacs: Enable mu4e-alert and display the count on modeline 2023-05-21 19:17:31 +05:30
12ea637567 emacs: Switch to doom-modeline
- ui/modeline module
- remove minions
- Disable anzu and evil-anzu packages
- Enable mu4e-alert because apparently doom-modeline supports it
- set the height to minimal required
- Configure to my preferences
2023-05-21 19:17:25 +05:30
1b971ccc81 emacs: Add org.age as recognised org-roam file extension
Does NOT work
2023-05-21 13:50:19 +05:30
5c922e1b84 emacs: Disable highlighting trailing whitespace
It hasn't proved too useful so far, and the harsh red color is really
unsettling.
2023-05-21 12:41:49 +05:30
62ff379ab0 hermes: Remove dbeaver and flyway 2023-05-21 11:39:11 +05:30
891de61130 hermes: Remove gradle and micronaut 2023-05-21 11:38:49 +05:30
2e621cb39d bebop: remove commented config 2023-05-21 11:09:29 +05:30
9d57a2de6d bebop: Temporarily disable GPU acceleration
Bebop is headless anyway, and until upstream nixos-hardware is fixed,
this will at least let me build.
2023-05-21 11:08:39 +05:30
da9e5ae9c7 emacs/gptel: Use M-RET for gptel-send
So I can drop code snippets in query
2023-05-20 14:45:02 +05:30
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
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
6311aff07d emacs: load dash.el before gptel 2023-05-18 22:21:44 +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
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
7fad657335 emacs: Enable minibuffer-depth-indicate-mode 2023-05-17 13:43:20 +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
763933ca27 emacs: Add breadcrumb mode by Joao Tavora 2023-05-14 22:43:27 +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
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
f6a099b239 deploy-rs: Fully working deployments from hermes to bebop
I'm not sure whether the passwordless sudo is required, but I'm too
tired to test right now. Anyway, this works.

Also unsure on the statelessness of deploy-rs, but again, its simple
enough, didn't require changing anything else much and it works.

Perhaps some day, I'll see about trying out colmena for deploying
secrets, but until then, agenix is good enough for my needs.
2023-04-30 22:23:55 +05:30
0f2cd85bd7 bebop: Do not require password for sudo 2023-04-30 22:00:01 +05:30
8ab5c4d8ba doom: Add a timeout of 100s to activation sync
So if the command is failing or taking too long for whatever reason, it
will not stop the system from being available.
2023-04-30 17:01:26 +05:30
bc8062f330 deploy-rs: More configuration
Right now this fails, because what I assume is a failure with emulation
in WSL, but otherwise I'm linking the overall approach of reusing the
preconfigured nixOSConfigurations in the same flake, as well as
lightweight burden of configuration. Doesn't hurt that it is written in
Rust rather than Python.
2023-04-30 16:59:46 +05:30
efdf3bc236 deply-rs: initial config
• Added input 'deploy-rs':
'github:serokell/deploy-rs/c2ea4e642dc50fd44b537e9860ec95867af30d39' (2023-04-21)
• Added input 'deploy-rs/flake-compat':
'github:edolstra/flake-compat/009399224d5e398d03b22badca40a37ac85412a1' (2022-11-17)
• Added input 'deploy-rs/nixpkgs':
'github:NixOS/nixpkgs/bb31220cca6d044baa6dc2715b07497a2a7c4bc7' (2022-12-19)
• Added input 'deploy-rs/utils':
'github:numtide/flake-utils/5aed5285a952e0b949eb3ba02c12fa4fcfef535f' (2022-11-02)
2023-04-30 15:58:48 +05:30
d25a2404e7 emacs: minor eglot config 2023-04-29 12:40:42 +05:30
a4ba6f71a1 Emacs: Enable format module 2023-04-29 12:40:26 +05:30
f25cd83ff6 Revert "Magit: full-screen status by default"
This reverts commit 9630e777de.
2023-04-27 17:27:16 +05:30
985cad303b Emacs: Switch font to size 28 2023-04-27 17:26:22 +05:30
acc0e463ba emacs/org: configure footnotes for automatic numbering 2023-04-27 11:14:53 +05:30
9d9e2f7d31 Emacs: apply autocorrect as suggested by jinx+aspell 2023-04-23 21:23:01 +05:30
dff5f68470 emacs: restore original config tangle settings 2023-04-23 21:10:28 +05:30
4afc916b4d Emacs: use modus-vivendi as theme for source blocks in org-export 2023-04-23 19:24:50 +05:30
8fb55cfa17 bebop: Update to changed options 2023-04-23 18:26:03 +05:30
17f8613ad8 bebop: try to update pi-hole container 2023-04-23 17:26:14 +05:30
f39c861731 Emacs: correct temporary files location
Since Emacs 28+ upstream follow freedesktop standards, doom has started
recommending cloning emacs config to ~/.config/emacs rather than
~/.emacs.d.

This commit updated my config to be agnostic to this location, and
always uses whatever location is used by Emacs itself.
2023-04-22 13:15:04 +05:30
8565c64a65 Emacs: remove ox-zola
I'm using Hugo, and this is no longer required
2023-04-22 12:53:44 +05:30
dd8e98642c Emacs: Switch to Jinx+Enchant for spellcheck
flyspell+aspell is doing perfectly fine job, but I wanted to try the
newfalngled Jinx thingy from minad. It is supposed to be faster, by
offloading spellcheck to enchant lib asynchronously, which in turn uses
different backends such as aspell, hunspell, nuspell etc, as well as
only doing spellcheck for visible text, rather than whole buffer.

Here, I am using aspell, because I couldn't get nuspell to work, but
aspell worked wonderfully.

I had to disable the existing spellcheck module in doom, but considering
jinx required very little config, I'm willing to give it a better shot.
Jinx is also likely to be better maintained than doom (which has fallen
behind in commit activity, thanks to Henrik being a busy bottleneck).

On another note, this commit is also a perfect demonstration of
cross-system changes consisting of both system libs as well as Emacs,
combining them, and changing both in single go. This has also reduced
mental calculations, as separate 'doom sync' is now not required, and
the only command I need to remember to deploy my system OR Emacs config
is 'sudo nixos-rebuild switch'. This is also why I'm now even more
reluctant to move home-manager to its separate repo. Monorepo for
personal config rocks!
2023-04-22 12:46:39 +05:30
d9bca5e8f9 Emacs: make xref use consult
For easier and more ergonomic navigation between references.
2023-04-20 14:50:56 +05:30
9630e777de Magit: full-screen status by default
IBM Plex font is larger, so this is better than vertical split.
2023-04-20 14:36:04 +05:30
69c8838530 Emacs: Check if doom binary exists before running sync
While unlikely during most use-times, on new system activation, for e.g.
the doom binary will be absent because doom setup is run by manually
cloning its upstream. Checking this before will prevent unnecessary
activation failure and runtime editing.
2023-04-20 14:30:29 +05:30
0d4cd93907 Emacs: Don't add tree-sitter grammars separately
All the grammars I need are already added by upstream (emacs-overlay),
except for tree-sitter-nix, but I can live with that.

This will save little bit of time while rebuilding emacs closure, and
will take me a bit closer to upstream.
2023-04-20 13:21:10 +05:30
80f0e1e0b4 Emacs: run 'doom sync' every time system is rebuilt or activated 2023-04-20 13:01:44 +05:30
4fb07d3911 Emacs: run 'doom sync' on every NixOS deploy
Doom recommends this, and I had a habit of it anyway.

This takes away some anxiety because now I know for sure that doom sync
has run on every doom config change as well as every NixOS config change.
2023-04-19 20:50:12 +05:30
0850c39eca emacs: Deploy doomemacs config via home-manager
This makes managing two distinct repos unnecessary, and only single repo
is required.

Since doom config repo was intended to be public anyway, there are no
secrets (I hope).

Pros are being able to deploy doom configs via single repo, which might
come in handy in future.

Cons are the need to redeploy NixOS config again just to deploy Emacs
config. Another config is increased Emacs startup time, because now it
has to traverse through the symlinks to nix-store to get the file
contents.

But, this is an experiment worth trying, so let's try this. Doom's setup
is still done imperatively via its own installer, but the config itself
is deployed via NixOS. We'll see how the trade-off goes.
2023-04-19 20:41:32 +05:30
5288e3d858 Merge remote-tracking branch 'remotes/doom/master' 2023-04-19 20:33:39 +05:30
a985b3099a emacs: try to fix broken tree-sitter grammars
from https://github.com/nix-community/emacs-overlay/issues/312#issuecomment-1506416929
2023-04-16 19:32:49 +05:30
598da76b20 Emacs: Switch to Unstable build (29.0.90)
Now that the Emacs unstable branch has switched to 29.0, I am getting
off the wild ride of master. Hopefully doom will also stablize pretty
soon, and this was planned all along.
2023-04-16 19:14:08 +05:30
8269c8e1d4 minor prose correction 2023-04-05 05:00:12 +05:30
0d25bc1c44 bhankas: Add keybinding to contract region
Opposite of er/expand-region, and something I often miss.
Keybind is same as S-{expand-region}
2023-04-05 04:59:08 +05:30
92e9595812 magit: Force set popup rule
I like the default behavior of magit, but after increasing font size it
suddenly started opening from bottom instead of from the right.

There's probably some config somewhere to decide this (probably
line-length limit), but for now I'm not going to spend much effort on
it. doom's popup rule macro is good enough™.
2023-04-05 04:59:03 +05:30
cec3e63daa Doom: increase font size to 30
This makes it comparable to Fira Code at 28
2023-04-05 04:37:24 +05:30
9e4127445d modus-themes: Minor color tweak
- Comments are brownish rather than yellow
- Strings are more intense green

I'm digging the comments, but strings are sort of too pronounced
compared to rest of the code. Might want to revert to orignal
green-cooler if it gets distracting.
2023-04-05 02:13:37 +05:30
9216007632 emacs: Add database packages
- sqlite
- dbeaver
- flyway
2023-04-05 01:57:48 +05:30
738c50b82a emacs: Remove graalvm package
It is provided by etc.environment in hermes/configuration.nix
2023-04-05 01:56:50 +05:30
b993049baa doom: Use IBM Plex Mono font
It comes with italics, and while I still prefer Fira Code, this, for
now, is good enough.
2023-04-05 01:55:25 +05:30
7df38eda05 eglot: minor changes for java modes
Still doesn't work :(
2023-04-04 23:35:01 +05:30
466f250866 Enable rust module 2023-04-04 18:28:52 +05:30
43368f7fcb hermes: Add JDK and GraalVM paths to /etc/
Makes much easier to configure IDEs than using env vars
2023-04-04 14:54:25 +05:30
184b582ea2 dict: update 2023-04-04 14:53:55 +05:30
a157b4d690 org: Add new capture template for blog-braindump 2023-04-04 14:53:38 +05:30
57913bacef hermes: Add gradle 2023-04-02 20:48:44 +05:30
c93f89958e hermes/home: Remove Zola, add Hugo
Some component in ox-zola+ox-hugo+zola was making markdown not be
rendered properly to HTML. I had no time to figure it out so Hugo was
it.

ox-hugo is well maintained by Kaushal Modi and others, has much more
widespread use, is well documented, and Hugo even uses it automatically!

Overall, I'm liking the result, and keeping it.
2023-04-02 09:21:35 +05:30
5d8b8ba46d org: More config for Hugo
Things seem to be working well enough now, with few papercuts, but
overall I'm fairly happy at the result and low maintenance mode of the
whole thing.
2023-04-02 02:26:16 +05:30
36726129ec org: Remove config for ox-zola
I moved my blog to Hugo. Zola's markdown rendering wasn't really
working, and I didn;t want to debug that at this moment.

Hugo worked much much better, with no intermediary step for converting
to md, as it supports orgmode by default.
2023-04-01 22:57:07 +05:30
d039f11f30 hermes: Add bunch of dev tools for Java, Go, Rust
..and move all dev tools to home-manager
2023-04-01 14:52:47 +05:30
751c6422a9 emacs: Add jinx+enchant library 2023-03-31 12:54:33 +05:30
07d4ebc620 org: Create draft template by default for blog 2023-03-31 12:53:29 +05:30
84ef12caae spell: Use enchant instead of aspell directly 2023-03-31 12:52:14 +05:30
e55eddf1f2 org: Enable hugo flag
For working with Ox-zola
2023-03-31 12:51:48 +05:30
b7b36b7c24 hermes: Add Zola 2023-03-25 17:43:15 +05:30
f66d6b76e1 org/blog: Configure for Zola 2023-03-25 17:40:48 +05:30
01a80063c4 Eglot: Remove inlay-hints-mode conffig
It now comes enabled by default.
2023-03-06 19:28:58 +05:30
92a3a6418a org: Set lexical t as default for emacs lisp 2023-03-05 14:19:51 +05:30
859ef1a0fe gnus: Add feedbase as alternate source
It allows RSS feeds to be accessed via nntp.
Gnus makes fetching slow, but the interface can be learned to be good enough.
2023-03-03 23:38:39 +05:30
a4d9ae1831 Add and enable EditorConfig
Because now Nixpkgs requires this for contributions.
2023-02-28 23:07:02 +05:30
c7b25fa6b0 Hermes: Remove Rust dev tooling
This reverts commit 84542f7b3e.
2023-02-24 21:00:48 +05:30
84542f7b3e Revert "Hermes: Remove Rust dev tooling"
This reverts commit a714495ea0.
2023-02-24 20:55:34 +05:30
b6794d2944 hermes/emacs: Remove Clojure packages 2023-02-24 20:45:19 +05:30
b313a0354b Eglot: If eglot version supports it, enable inlay hints 2023-02-24 20:43:36 +05:30
f7251da5f6 Eglot: Prefer built-in package
eglot is now part of Emacs, and doom's pinning doesn't make sense here,
so just get rid of it.
2023-02-24 20:42:54 +05:30
208ba92f52 Clojure: Disable module and remove config 2023-02-23 13:59:15 +05:30
e9a73a6aa5 dict: update 2023-01-22 00:13:52 +05:30
ac9829293a emacs/completion: Enable completion auto select 2023-01-11 13:38:27 +05:30
19c2cf3481 modus-themes: More changes for v4
partly inspired by
https://christiantietze.de/posts/2023/01/modus-themes-v4-changes/

- Use variable pitch font in some org-agenda constructs
- Enable mixed-fonts
- Use medium and italic for prompts
- use medium weight instead of semibold for default org headings
- Use :custom keyword in use-package config
2023-01-11 13:36:21 +05:30
5956c8be65 hermes/emacs: Add saveplace-pdf-view 2023-01-04 19:11:52 +05:30
2c0769b636 modus-themes: Update prose to match config 2023-01-02 16:51:25 +05:30
d1f5a6f822 modus-themes: Update config for 4.0.0
This is a major, breaking change.

Nearly all the variables are gone, and face-by-face override is
necessary. Modus-themes are now a theme-engine with some reasonable
defaults. This makes it more customizable, but also needs more tweaking
than before and knowing more about Emacs faces.

Anyway, I got to a reasonably close approximation of what I had before,
but there are things remaining. Namely, completions, org-blocks,
org-agenda bolds and hl-line brightness.

But, for now, its mostly good enough.
2023-01-02 16:24:23 +05:30
3a0fb2b43b dict: update 2023-01-01 00:00:35 +05:30
ce4fbcbbd2 hermes: Add nix-ld with default set of libs used by binaries
This is the ultimate solution for weird intricacies of Rust programs
or SBCL needing OpenSSL for compiling stuff, or pre-compiled internet
binaries (not that they're good..) needing specific libs in specific
places that don't exist on NixOS.

While this makes the system less good, it does make it a more
accommodating citizen in the Unix land. This is also a lot more
declarative than any other system out there, so that's an added benefit.

If this works out as advertised, this is going to change a lot of things.
2022-12-31 19:42:13 +05:30
a7b48bef0e eglot-java: Add java-ts-mode hook 2022-12-29 14:39:58 +05:30
49875352c4 bibtex: Add minor prose 2022-12-29 14:37:48 +05:30
302e574668 eglot: add new java-ts-mode for java java config 2022-12-29 14:37:21 +05:30
52c1e36ad3 bibtex: Use default references directory for citar-org-roam 2022-12-28 12:41:58 +05:30
51db7367e2 bibtex: Promote to top-level heading 2022-12-27 15:08:05 +05:30
293f3dca5a bibtex: Initial config
- Add arxiv-citation
  - Download arxiv PDFs
  - Automatically add bibtex entry to specified file
- Minor modifications to Citar config
- Configure citar-org-roam to not use any subdirectory
2022-12-27 15:00:00 +05:30
56ee23c1e6 xref/ripgrep: Use ripgrep as search program for xref
grep is slower than ripgrep and xref already supports ripgrep as an
alternative, so might as well switch to it.
2022-12-27 09:38:15 +05:30
d3f091d16e magit: Set message line length limit to 72 instead of default 80
The commit line length in Doom by default is 80. However, because of my
current laptop screen and split screen editing of commit message in
magit is configured, the line endings happen very awkwardly with single
character on newline. This is generally not an issue, but its just a
nagging thing that I personally do not like.

One of the obvious fix is to simply set the commit message line length
limit to 72 characters as does Linux kernel (and hopefully other GNU
projects, possibly including Emacs itself). This doesn't make too much
difference in usability, while preserving the aesthetics on my laptop
display.

Because this utilizes both the hook and a check for buffer name, this
should not modify the line length for any other buffer and remain at 80.
2022-12-26 11:35:04 +05:30
dedda2fd4e wsl: Better use-package keyword usage
Like Prot, I have concerns on use-package DSL becoming a problem, but for now, I
find the declarative nature of it to be a good thing and consider it worthwhile.
2022-12-26 11:19:03 +05:30
c3871ad750 org: Better specify dependencies in some config blocks 2022-12-26 11:17:26 +05:30