Commit graph

911 commits

Author SHA1 Message Date
Payas Relekar
4e55b84837 hermes/home: update ssh for cloudflare 2023-06-11 21:07:45 +05:30
Payas Relekar
5773eace14 hermes: update ssh 2023-06-11 20:59:31 +05:30
Payas Relekar
f3b55ee4a0 gitea: enable websocket 2023-06-11 11:12:08 +05:30
Payas Relekar
df338f3217 hermes: use cloudflared for ssh proxy to bebop 2023-06-11 11:08:03 +05:30
Payas Relekar
ee49e4e3e5 gitea: authorize public key 2023-06-11 10:41:03 +05:30
Payas Relekar
01337b756c bebop: minor ssh changes 2023-06-11 10:12:35 +05:30
Payas Relekar
0bed720796 gitea: restore mailer from
Gitea requires a complete email address, or does not work
2023-06-10 12:44:17 +05:30
9ebe4a17e4 gitea: revert requiring signing for explore 2023-06-10 11:53:14 +05:30
a312aa4b0e gitea:fix 2023-06-10 11:52:18 +05:30
b555a4b62e gitea: Disable user registrations
Only admin can create new users now
2023-06-10 11:11:25 +05:30
d9b748444b gitea: change to just gandalf 2023-06-10 11:01:47 +05:30
8b15157e59 gitea: try to fix mailer config 2023-06-10 00:45:54 +05:30
9a34d42a87 gitea: rename app 2023-06-10 00:35:00 +05:30
d689c91833 gitea: disable db password 2023-06-10 00:34:35 +05:30
2bf3b6f11a gitea: Use forgejo 2023-06-10 00:32:40 +05:30
3591f2cfba gitea: let NixOS create database 2023-06-10 00:29:56 +05:30
29e1d02223 gitea: disable wizard
Apparently config only gets set if the wizard is NOT enabled <facepalm>
2023-06-10 00:19:05 +05:30
cbfb591b3d gitea: run with its own user 2023-06-10 00:09:27 +05:30
c66080814c gitea: disable lfs 2023-06-10 00:05:09 +05:30
c4070c2ae7 gitea: possible fix 2023-06-09 23:36:58 +05:30
e4811322e7 gitea: enable 2023-06-09 23:25:57 +05:30
a386973589 mail: add gandalf_mail 2023-06-09 23:16:37 +05:30
476b6d9336 gitea: disable for now 2023-06-08 23:23:04 +05:30
dc6c34624e everywhere: Update email 2023-06-08 23:22:45 +05:30
7a93935712 bebop/navidrome: Enable websocket and move domain config 2023-06-08 22:22:18 +05:30
bbd514e548 gitea and vaultwarden: another smtp fix 2023-06-07 21:41:57 +05:30
0552d47911 gitea: refactor deprecated config 2023-06-07 21:36:11 +05:30
a2a68ca7dc outline: initial smtp config 2023-06-07 21:11:14 +05:30
4a39e3f77d nginx: attempt to fix header 2023-06-07 20:42:49 +05:30
41a16bdd9d nginx: try to fix config 2023-06-07 20:31:26 +05:30
6a2af31f0d nginx: add config to set http_header 2023-06-07 20:16:22 +05:30
02c6dafa4d vaultwarden: more email setting 2023-06-05 22:04:22 +05:30
716180ca62 vaultwarden: SMTP config 2023-06-05 21:30:11 +05:30
375d406a14 vaultwarden: Fix env file owner 2023-06-05 20:54:28 +05:30
3a7edd8e6d agenix: correct equality operator 2023-06-05 20:44:25 +05:30
9521f186ee bebop: Add vaultwarden 2023-06-05 20:37:08 +05:30
2b3a613f25 gitea: more trials 2023-06-05 06:38:37 +05:30
3c7dc79b19 gitea: add database config 2023-06-05 06:31:42 +05:30
f725f846b9 gitea: more changes 2023-06-05 06:22:27 +05:30
c494536cbc gitea: add mailer config 2023-06-05 06:03:28 +05:30
701d9ab229 gitea: try a fix 2023-06-05 05:55:15 +05:30
a258985695 bebop: disable plausible, use gitea instead of forgejo 2023-06-05 05:49:58 +05:30
52a8e07655 gitea: use forgejo 2023-06-05 05:46:34 +05:30
d7cab96d58 gitea: add subdomain 2023-06-05 05:45:36 +05:30
750a10eb87 bebop: update and enable gitea 2023-06-05 05:42:11 +05:30
d53ffa80f7 cloudflared: run with user payas
To be able to access credentialsFile deployed by agenix
2023-06-04 23:37:31 +05:30
32d56a13a8 cloudflared: deploy credentials file via agenix 2023-06-04 23:32:27 +05:30
fc0567e2ea bebop: Update cloudflare tunnel credentials file location 2023-06-04 23:17:46 +05:30
4641c2f9b0 cloudflared: attempt#1 2023-06-04 23:09:31 +05:30
af9730230d emacs/mail: rearrange setq blocks
This might or might not break some things. Test and revert if needed.
2023-06-03 16:56:10 +05:30
5d6f5cf591 emacs/mail: Fix Gnus loading 2023-06-03 16:53:16 +05:30
e81d46a337 emacs/janet: Enable tree-sitter experimental functions 2023-06-03 16:52:45 +05:30
3250308fcc emacs: Add and enable janet-ts-mode 2023-06-03 15:12:56 +05:30
1e5e7abd39 emacs: enable upload module to copy files around hosts easily 2023-06-03 13:08:16 +05:30
17fd11a6a9 Add rhea to hosts and fish abbreviations 2023-06-03 12:28:06 +05:30
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