Commit graph

94 commits

Author SHA1 Message Date
Payas Relekar
a51d487146 Remove nixos-wsl 2023-08-20 19:15:32 +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
0eeeba1192 Clean up wiki.nix, split to outline, paperless and plausible 2023-07-08 14:08:24 +05:30
Payas Relekar
a7ad48008d disable calibre module 2023-07-07 21:20:32 +05:30
Payas Relekar
1e7a06d122 disable photoprism for now 2023-07-07 21:18:49 +05:30
Payas Relekar
49eba2202c Add photoprism 2023-07-07 21:17:31 +05:30
Payas Relekar
e6d55940a5 bebop: enable etesync service 2023-06-28 21:54:54 +05:30
Payas Relekar
771e6993da hledger: enable hledger-web 2023-06-28 21:54:43 +05:30
Payas Relekar
fb9237389a flake: remove nixd
It is now available directly from nixpkgs
2023-06-17 14:06:40 +05:30
Payas Relekar
2bdaed5fcf hermes: add nixd (new nix LSP) 2023-06-13 16:54:53 +05:30
d2ee858caa outline: move config to separate module 2023-06-09 23:17:04 +05:30
4c9806f533 bebop: Add mail module 2023-06-07 21:33:31 +05:30
755f5bfdcd flake.nix: minor adjustment 2023-06-07 20:15:43 +05:30
9521f186ee bebop: Add vaultwarden 2023-06-05 20:37:08 +05:30
750a10eb87 bebop: update and enable gitea 2023-06-05 05:42:11 +05:30
b8017dbce2 bebop: actually enable cloudflared module 2023-06-04 23:23:26 +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
3ae0554efb wiki/outline: Attempt #2 2023-05-27 18:15:10 +05:30
34eb5a4793 Revert "bebop: Enable all secrets"
This reverts commit 2427bf9e47.

Because bebop does not have the SSH key yet.

This needs to be thought and worked over properly.
2023-05-26 00:41:37 +05:30
2427bf9e47 bebop: Enable all secrets 2023-05-26 00:36:25 +05:30
386427b7ee wiki: Initial implementation
Ideally this should be split into separate packages, but we'll see. This
commit enables two services for bebop:

- outline (getoutline.com)
  A personal notion.so - like note-taking and knowledge base.
  I do like and prefer org-mode, but this is nicer looking and useful
  for gen-pop.
- paperless
  To store all documents in PDF format plus automatically OCR them and
  query the OCR'ed text.
2023-05-24 01:37:41 +05:30
37bec4cb64 Calibre: Add module and enable for both hermes and bebop 2023-05-18 22:36:14 +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
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
545e8a269e Revert "Revert "Revert "emacs: Build from local override of overlay"""
This reverts commit 50b06a26e5.
2023-04-07 22:36:00 +05:30
50b06a26e5 Revert "Revert "emacs: Build from local override of overlay""
This reverts commit 200c66fd7e.
2023-04-04 19:15:26 +05:30
200c66fd7e Revert "emacs: Build from local override of overlay"
This reverts commit 43ba1e6661.
2023-04-04 19:08:06 +05:30
43ba1e6661 emacs: Build from local override of overlay
upstream emacs.git master branch is broken for yasnippet+nativecomp.

The fix is currently only present in emacs-29, and I was tired of
waiting for fix after a week. So, I cloned and overrode the revision in
emacs-overlay, and built from that. So far so good, all problems
resolved :)

Oh, also had to remove the org repo from straight so it stopped
complaining about mismatched org version.
2023-03-31 12:24:54 +05:30
c2a9dc5ca3 hermes/navidrome: Remove navidrome module from hermes and delete its config
Now that Music collection from WSL can be accessed by Strawberry directly from
filesystem, it is not necessary to keep navidrome service around any more.
2022-11-01 13:07:56 +05:30
ae84f89fef flake: Update emacs-overlay to latest
To get the benefits from noverlay branch merge. It is FAST! :)
2022-10-31 13:42:24 +05:30
6c2d51458c flake: Use same nixpkgs as everything else for emacs-overlay 2022-10-31 13:10:30 +05:30
87d1beea3c flake.lock: 2022_10_29
• Updated input 'emacs-overlay':
'github:nix-community/emacs-overlay/2891c0c12ad28fb24eafbce9a273553d3ef94def' (2022-10-29)
→ 'github:nix-community/emacs-overlay/feea89fbc310afc87dff52ae0a1bc4afabfcbd43' (2022-10-29)
• Updated input 'emacs-overlay/nixpkgs':
follows 'nixpkgs'
→ 'github:NixOS/nixpkgs/4ede9091df31e1f4d1eb4e03ccbfe374b6f64ef5' (2022-10-29)
2022-10-29 23:44:22 +05:30
67a8ab7f14 Hermes: Re-enable navidrome module
The fix was merged in nixpkgs.
2022-09-26 20:43:51 +05:30
7c4388cf18 flake.nix/flake.lock: 2022_09_25
Also unlock emacs-overlay, doom's latest update works with it.
2022-09-25 18:04:15 +05:30
9c80726942 flake.nix: Pin emacs-overlay to older version
With supposedly least conflicts with doom-emacs' master.

Recent breakage has driven me up the walls, and considering how much I rely on
Emacs as my tool of choice for near everything important, I cannot afford it
breaking in the middle of the day.

So, I've reverted back to the commit that gave least issues, and will stick to
it for foreseeable future.
2022-09-23 19:03:20 +05:30
c41240fc55 Hermes: Temporarily disable navidrom
Upstream unstable branch has broken navidrome. A PR is already made to fix it,
but apparently the issue is with how npm gets bundled with Nix, so might not be
trivial to fix completely. Until that happens, this can be disabled.

As for bebop, it will fail to build, so the system should automatically stay on
older version until navidrom is fixed upstream.
2022-09-20 14:56:18 +05:30
e5c98d80c2 bebop: Enable fail2ban and move SSH config to separate host-module
fail2ban bans IP addresses from re-attempting SSH logins after 5 retries. Local
network addresses are currently always allowed.
2022-07-17 14:34:10 +05:30
bccff2788a Revert "Hermes/Mopidy: Initial attempt at Mopidy"
This reverts commit cace1165be.
2022-07-16 23:02:58 +05:30
cace1165be Hermes/Mopidy: Initial attempt at Mopidy
For replacing Navidrome. This version does not play local files yet
2022-07-16 22:48:08 +05:30
a73f16ddf9 Remove nixpkgs-unstable
Also remove cachix cache for nixpkgs-unstable.

Turns out I am not using any of this on WSL, so doesn't make any sense to keep
it around.
2022-07-05 21:33:47 +05:30
a5d5dbd74e meta: minor rearrangement 2022-06-14 13:46:03 +05:30
927cad466d Hermes: Move WSL config to separate module 2022-06-13 10:27:56 +05:30
1b1425b9e1 Hermes: Disable backup services
Restic requires imperative config, and I'm not really willing to put with it
right now.
2022-06-11 22:10:11 +05:30
1e494aa605 Hermes,Bebop: Add and enable Navidrome audio server
Because WSL is ridden with bugs, I'm going to try running my Music over a
server.

This also provides opportunity to finally unify and start making proper
playlists that will stick.
2022-06-11 22:08:35 +05:30
74781ef9a5 Meta: Minor comment 2022-06-09 20:29:46 +05:30
1a25adfc8c Hermes: setup home-manager for root 2022-06-08 17:39:00 +05:30
702d29e926 Revert "Hermes: First (unsuccessful) attempt at nix-doom-emacs"
This reverts commit e6cc9ccb5b.
2022-06-08 15:58:42 +05:30
e6cc9ccb5b Hermes: First (unsuccessful) attempt at nix-doom-emacs
The missing autload file issue is still there and unfortunately preventing the
installation. Reverting until fix is known.
2022-06-08 15:57:34 +05:30
2d490d2162 Hermes: Enable backup module 2022-06-04 12:33:23 +05:30