Commit graph

1038 commits

Author SHA1 Message Date
Payas Relekar
047b2ce742 phoebe: add strawberry 2023-09-28 19:54:51 +05:30
Payas Relekar
290ced21d9 phoebe: Add to syncthing devices and enable sharing 2023-09-28 19:04:47 +05:30
Payas Relekar
096cf2617c emacs/dev: move most heavy development specific packages elsewhere 2023-09-28 18:08:30 +05:30
Payas Relekar
dbe5c5d7c2 audio: move to modules/ and enable for phoebe
should also enable bluetooth for phoebe
2023-09-28 17:59:18 +05:30
Payas Relekar
9167cbb655 phoebe: Add little ssh config 2023-09-28 17:56:01 +05:30
Payas Relekar
2f0d836439 phoebe: enable syncthing 2023-09-28 17:51:57 +05:30
Payas Relekar
03f4c32fc0 emacs: move from hermes to its own module 2023-09-28 17:44:04 +05:30
Payas Relekar
80547f6838 phoebe: remove unrar 2023-09-28 15:05:42 +05:30
Payas Relekar
3425ee5859 phoebe: disable mail and emacs modules for now 2023-09-28 15:01:25 +05:30
Payas Relekar
afb89ba686 phoebe: copySystemConfiguration is not supported for flakes 2023-09-28 15:01:05 +05:30
Payas Relekar
7453c8042f phoebe: initial config for GPD MicroPC 2023-09-28 14:45:54 +05:30
Payas Relekar
6cc81e5e92 add maven 2023-09-24 20:52:02 +05:30
Payas Relekar
15ffc1e0d6 fix java config 2023-09-24 20:51:50 +05:30
Payas Relekar
f1e3f5cd34 hermes: remove backup.nix
I haven't used this homegrown backup system, storing stuff on MP's
onedrive. It had too many warts, and re/deploying secrets alone was not
sufficient. I'll find other workaround for it later.
2023-09-23 11:08:55 +05:30
Payas Relekar
87f024f7ea secrets: refactor and separate
All secrets are now separated per host, i.e. hermes and bebop only
deploy the secrets that they need.

- Code is duplicated across agenix.nix files in both hosts, but that is
a problem for another day
- outline secret is removed as well as allowing broken nginx package for
it
- onedrive upload secrets are also removed now, since I haven't used
them for nearly 2 years now.
2023-09-23 11:08:02 +05:30
Payas Relekar
22a8bd5f3d emacs: remove bhankas-org-agenda-other-tab
It blocks the thread, so doesn't make sense to open in other tab anyway
2023-09-21 15:19:26 +05:30
Payas Relekar
9ab2760207 hermes: Add steam-run 2023-09-21 15:04:34 +05:30
Payas Relekar
260aace64f emacs: remove elfeed reverse-dependencies 2023-09-21 14:07:28 +05:30
Payas Relekar
659cb53f46 emacs: remove elfeed
Now that freshrss instance is up and running very well, I am able to
track and read stuff from my phone as well.

If in future I'm able to get elfeed to integrate with FreshRSS, I'll
bring it back, but for now it will probably save me significant time
during emacs startup
2023-09-21 13:20:41 +05:30
Payas Relekar
6b2d268ad0 Revert "emacs: enable menu-bar-mode"
This reverts commit 55e5c7ac23.
2023-09-20 14:01:00 +05:30
Payas Relekar
fa06c8e2c7 emacs/org: do not make agenda buffer sticky 2023-09-19 22:16:22 +05:30
Payas Relekar
30f24d348a emacs/org: some org-agenda customization
In particular automatic follow mode for org-agenda items
2023-09-19 21:53:51 +05:30
Payas Relekar
55e5c7ac23 emacs: enable menu-bar-mode
My displays are big and high-res enough and there's at least picture
mode that is supposed to work a lot better with it.
2023-09-19 20:31:28 +05:30
Payas Relekar
acd68540d9 emacs: Get elfeed feeds via self-hosted RSS
it is untested as of yet, but we'll see
2023-09-18 17:40:41 +05:30
Payas Relekar
25b3308213 emacs: try to speed up org-agenda 2023-09-18 11:03:39 +05:30
Payas Relekar
97e0f368c7 outline: remove module
I like tiddywiki better. It is much nicer to setup, fast and no
bullshit.

For now, I'm keeping 'minio', just in case I have to experiment with S3
compatibility for something, but outline is definitely gone
2023-09-17 15:20:47 +05:30
Payas Relekar
a0911dde04 secrets: Fix tiddlywiki name 2023-09-17 14:56:52 +05:30
Payas Relekar
a4662dea87 bebop: Add and enable tiddlywiki 2023-09-17 14:49:29 +05:30
Payas Relekar
a6082db546 emacs: Add aio package
To experiment with my new long-running function for updating flake inputs
2023-09-15 22:43:27 +05:30
Payas Relekar
d87ab6af5b hermes: Correctly and completely fox .gtkrc-2.0 file issue 2023-09-15 20:45:32 +05:30
Payas Relekar
41eed4c610 hermes: Enable fingerprint sensor
With great effort, I was able to register two fingers, but it doesn't
work for screen unlocking yet. It just doesn't detect correctly.
2023-09-15 15:55:04 +05:30
Payas Relekar
6f7d937ce3 Revert "hermes: switch to Grub in attempt to fix audio"
This reverts commit dd2c2313da.
2023-09-15 13:05:08 +05:30
Payas Relekar
dd2c2313da hermes: switch to Grub in attempt to fix audio
This causes disk decryption password to be asked twice, takes 5 times
longer to boot and the audio still doesn't work.

Primary resource: https://discourse.nixos.org/t/asus-zenbook-no-sound-output/29326
2023-09-15 10:17:36 +05:30
Payas Relekar
148fa25353 Revert "Revert "doom: remove org-timeblock""
This reverts commit b8d6ea02f2.
2023-09-14 23:57:52 +05:30
Payas Relekar
d93b26e7a2 hermes/home: delte .gtkrc-2.0 if present before activation 2023-09-14 20:22:36 +05:30
Payas Relekar
772b819cf3 emacs/org: Fix the dang agenda 2023-09-13 22:49:39 +05:30
Payas Relekar
b8d6ea02f2 Revert "doom: remove org-timeblock"
This reverts commit 6172f4dc9b.
2023-09-13 22:26:15 +05:30
Payas Relekar
184114fce4 Revert "doom/org: remove recent config changes"
This reverts commit 3fd37e0eec.
2023-09-13 22:26:05 +05:30
Payas Relekar
0991cf8bd0 hermes: enable dconf
To fix the gnarly GTK bug during config activation:
https://discourse.nixos.org/t/error-gdbus-error-org-freedesktop-dbus-error-serviceunknown-the-name-ca-desrt-dconf-was-not-provided-by-any-service-files/29111
2023-09-13 22:10:05 +05:30
Payas Relekar
6172f4dc9b doom: remove org-timeblock
In order to see if this is causing the issues with agenda
2023-09-13 22:03:31 +05:30
Payas Relekar
80d7d3453a Revert "hermes: Use systemd/networkd for managing networking"
This reverts commit a5a75b0a35.
2023-09-13 21:56:07 +05:30
Payas Relekar
f59674bb45 emacs: add and enable org-timeblock 2023-09-13 19:40:50 +05:30
Payas Relekar
3fd37e0eec doom/org: remove recent config changes 2023-09-13 19:38:12 +05:30
Payas Relekar
f131210561 emacs: Load neovim config from a Lua file
this allows for better editing experience compared to the stringly mess
from before.

So now Emacs is good for modifying NeoVim config, with support for both
Nix and Lua, and NeoVim is capable of editing Emacs config via orgmode.
Nice :)
2023-09-13 19:11:31 +05:30
Payas Relekar
43b013d7da doom: Add basic config for Lua-mode 2023-09-13 17:40:01 +05:30
Payas Relekar
3a8758ecac emacs: remove ement config
This was barely used ever since it was here, and I doubt I'm going to
use it again in near future
2023-09-13 17:27:34 +05:30
Payas Relekar
2298f04027 emacs: Add luajit and lua-language-server
For editing NeoVim's Lua config
2023-09-13 17:25:50 +05:30
Payas Relekar
1b09b87c7e doom: Enable lua module
For editing NeoVim config in comfort.

This brings us full circle, where nvim is configured to edit Emacs'
orgmode config, and Emacs is able to edit NeoVim's lua config :)
2023-09-13 17:07:30 +05:30
Payas Relekar
04dfcec259 emacs/org: more config 2023-09-13 15:46:37 +05:30
Payas Relekar
9160f7134d emacs: remove consult-ripgrep-org
Now that most of my files are `age' encrypted, they are not searched by
ripgrep. So this function is fairly useless now. I do have to rely on
built-in org facilities that are much slower, but at least they work and
show complete results..
2023-09-13 11:49:09 +05:30
Payas Relekar
b6361b6b8d emacs: try to fix age.el loading and enabling order 2023-09-11 00:17:45 +05:30
Payas Relekar
59d9a73164 emacs: Add mu4e
ref: https://github.com/NixOS/nixpkgs/pull/253438
2023-09-10 23:56:06 +05:30
Payas Relekar
8710c36089 hermes: Enable ADB
to fix Nayan's new phone
2023-09-10 18:10:46 +05:30
Payas Relekar
23998b1f81 Emacs: Add and configure EBDB 2023-09-06 16:19:18 +05:30
Payas Relekar
c37de36626 bebop: Add and enable FreshRSS 2023-09-06 15:40:09 +05:30
Payas Relekar
5f2bbe57e0 hermes: tiny font on console during boot :):( 2023-09-01 22:37:39 +05:30
Payas Relekar
c3048e2018 kavita: change token key yet again (using a 2048 bit now)
because https://github.com/Kareadita/Kavita/issues/2042
2023-08-30 21:27:25 +05:30
Payas Relekar
8ca964a4b8 kavita: Add key without line wrapping during base64 2023-08-30 21:07:41 +05:30
Payas Relekar
2413d9af65 hermes: Replace soulseek with nicotine-plus
Nicotine is a modern python+GTK client, and the appimage soulseek is
very old version that has frequent build failures on NixOS.
2023-08-30 21:02:40 +05:30
Payas Relekar
eab77f3c51 kavita: update key to 128 bit one 2023-08-30 19:27:21 +05:30
Payas Relekar
43d6c6c835 Add kavita_token_key to agenix 2023-08-30 18:42:01 +05:30
Payas Relekar
aad3b5e96a bebop: Add and enable Kavita (book server) 2023-08-30 14:22:10 +05:30
Payas Relekar
015a006844 Magit: try experiment 2023-08-30 11:27:32 +05:30
Payas Relekar
b2c8215e77 hermes: Add bitwarden desktop app
The browser extension is fine, and the desktop app is the 'first and
only' disgusting electron app on my system, but it might come handy in
future.

We'll see.
2023-08-27 14:32:55 +05:30
Payas Relekar
e89086afdb org-roam: Explicitly use new builtin sqlite connector 2023-08-27 13:38:22 +05:30
Payas Relekar
4ea1edffc4 hermes/home: Fix stupid GTK cursor
The only GTK application in my use is Firefox, and the tiny cursor was
proving a usability hindrance more than annoyance. This 'fixes' it, to
say. It ain't perfect, and it still isn't Breeze cursor, but oh well.
2023-08-26 08:18:45 +05:30
Payas Relekar
76626c27de pipewire: enable explicitly 2023-08-24 14:21:17 +05:30
Payas Relekar
a5a75b0a35 hermes: Use systemd/networkd for managing networking
This is an experiment, in favor of systemd, as it is already integrated
everywhere in my system.
2023-08-24 10:09:45 +05:30
Payas Relekar
e9ca4f14af hermes/audio: Correct pipewire configuration
Still didn't solve the issue of laptop speaker not being detected.. but
we'll get there some other time.
2023-08-24 10:08:24 +05:30
Payas Relekar
cc4bdd08ff hermes: remove documenso 2023-08-22 17:22:15 +05:30
Payas Relekar
49ce8939fc emacs: Disable killing active region 2023-08-22 16:12:37 +05:30
Payas Relekar
d491803f35 hermes: Add arianna and kolourpaint 2023-08-22 13:50:40 +05:30
Payas Relekar
ae2074587b hermes: try to enable desktop notifications for new mail 2023-08-22 12:41:36 +05:30
Payas Relekar
97fc6fc0de hermes: Refactor and split config to separate modules
- asus : charge control
- audio : pipewire
- hardware : boot, encryption etc
2023-08-22 12:34:48 +05:30
Payas Relekar
12b44b9550 hermes: Setup battery charge control
Asusd option did not really work, but I'm keeping it as is for now.

The systemd unit is borrowed from nixos-hardware:
7f1836531b/asus/battery.nix (L23)

This is still untested, so lets see how this goes.
2023-08-22 12:24:47 +05:30
Payas Relekar
10d52789cd emacs: Change font size to 19 2023-08-21 14:13:03 +05:30
Payas Relekar
a10dff9eee Revert "bebop: Add new SSH key for hermes"
This reverts commit 88b068c0a6.
2023-08-20 18:20:04 +05:30
Payas Relekar
88b068c0a6 bebop: Add new SSH key for hermes
Because looks like there is a conflict with known_hosts for same key
2023-08-20 18:08:07 +05:30
Payas Relekar
bc849614f0 Revert "hermes: Minor package definition change"
This reverts commit 8ec7482bfe.
2023-08-20 14:37:56 +05:30
Payas Relekar
8ec7482bfe hermes: Minor package definition change 2023-08-20 14:35:39 +05:30
Payas Relekar
e0734de222 hermes: Enable bluetooth 2023-08-20 14:28:42 +05:30
Payas Relekar
17e53b962d hermes: minor refactor, + remove env vars for WSL 2023-08-20 14:25:03 +05:30
Payas Relekar
13bdffe9fd flake.lock: 2023_08_20 2023-08-20 14:14:01 +05:30
Payas Relekar
54acf430c7 hermes: Make build for bare-metal
After more than a year later, I've moved back to NixOS on bare-metal.

WSL is fine and all, but it has enough warts that get really annoying,
especially as a Java developer.
2023-08-20 14:12:52 +05:30
Payas Relekar
2a6a1f83f2 hermes: Add qpdf
qpdf --password="<password/>" --decrypt input.pdf output.pdf
2023-08-17 17:13:54 +05:30
Payas Relekar
5c9d2cffec emacs: minor whitespace change 2023-08-17 10:52:49 +05:30
Payas Relekar
dd40814956 hermes: Add documenso 2023-08-17 10:42:14 +05:30
Payas Relekar
283c731bfd Add and enable eglot-x package 2023-08-15 23:27:56 +05:30
Payas Relekar
12dde3a4b2 emacs/eglot: Finally properly configure Nix LSP
This will auto-archive flake and make some more things nicer.
2023-08-14 11:18:03 +05:30
Payas Relekar
984a6708bf syncthing fix attempt v3 2023-08-06 19:38:40 +05:30
Payas Relekar
3a54ab7581 Fix and enable Syncthing with newer options 2023-08-05 18:27:20 +05:30
Payas Relekar
dec811f48e bebop: Use git.bhankas.org to pull nixos config for auto-updates 2023-08-05 17:40:23 +05:30
Payas Relekar
e3c1ed4720 hermes: Enable Java 2023-08-03 23:45:32 +05:30
Payas Relekar
70aebb669c emacs/org: include age-encrypted files in org agenda 2023-07-23 23:13:08 +05:30
Payas Relekar
d1b659a55f Syncthing: try to update config per new options
And also disable
2023-07-23 22:03:00 +05:30
Payas Relekar
e9f4d7eff2 meta: remove some prose 2023-07-18 21:03:37 +05:30
Payas Relekar
a68c001f0e hermes: Use direnv module from NixOS instead of home-manager 2023-07-14 22:59:15 +05:30
Payas Relekar
49eba2202c Add photoprism 2023-07-07 21:17:31 +05:30
Payas Relekar
2b183511ca emacs: Add Go and Gopls
To maybe start on the database book
2023-07-02 15:53:43 +05:30
Payas Relekar
fbad4942fc bebop: Fix groups 2023-07-02 13:38:38 +05:30