Commit graph

119 commits

Author SHA1 Message Date
Payas Relekar
5daf7e41b5 gitea -> forgejo
Also need to perform one-time migration:
https://nixos.org/manual/nixos/unstable/#module-forgejo
2024-03-16 17:01:07 +05:30
Payas Relekar
b74e029cdb remove pi-hole 2023-12-25 23:34:50 +05:30
Payas Relekar
d3d52ea826 bebop: Enable initial home-assistant 2023-12-25 23:29:51 +05:30
Payas Relekar
b543e8f5e9 hermes+phoebe: Enable avahi+mdns
For device discovery over local network. Trying this out because ESPHome
is not able to locate wirelessly connected devices for OTA updates.
2023-12-25 10:30:53 +05:30
Payas Relekar
efa54aabd2 doom: configure apheleia 2023-11-16 10:46:35 +05:30
Payas Relekar
4a2f00c222 meta: reindent flake.nix (as per nix-ts-mode) 2023-11-11 16:37:49 +05:30
Payas Relekar
7077000bc2 Charles: Make build
Also add git config and remove ssh config
2023-10-25 14:51:17 +05:30
Payas Relekar
b87d6fa7eb darwin: PoC config for mac. Yet to be tested.
The hostname is just a placeholder since I do not control hostname at
work.
2023-10-20 23:08:09 +05:30
Payas Relekar
e6965a72c9 phoebe: add agenix config 2023-09-28 20:17:47 +05:30
Payas Relekar
456b4b8202 phoebe: enable agenix 2023-09-28 20:07:17 +05:30
Payas Relekar
14029c501c phoebe: Enable nixos-hardware module for MicroPC 2023-09-28 18:14:15 +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
2f0d836439 phoebe: enable syncthing 2023-09-28 17:51:57 +05:30
Payas Relekar
7453c8042f phoebe: initial config for GPD MicroPC 2023-09-28 14:45:54 +05:30
Payas Relekar
cd6e55fc65 photoprism: remove module
Part of general cleanup of dead code
2023-09-23 11:10:17 +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
dacf71f568 flake.nix: minor whitespace change 2023-09-20 14:21:06 +05:30
Payas Relekar
34d77a5893 experiment: incorporate pi-hole PR
reference: https://astrid.tech/2022/11/03/0/overlay-nixpkgs-pr/
2023-09-18 12:19:47 +05:30
Payas Relekar
683d0167f3 bebop: Add and enable minio (independently of outline) 2023-09-17 15:20:56 +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
a4662dea87 bebop: Add and enable tiddlywiki 2023-09-17 14:49:29 +05:30
Payas Relekar
c37de36626 bebop: Add and enable FreshRSS 2023-09-06 15:40:09 +05:30
Payas Relekar
19940dfcc7 bebop: Add and enable uptime kuma 2023-09-06 15:02:15 +05:30
Payas Relekar
aad3b5e96a bebop: Add and enable Kavita (book server) 2023-08-30 14:22:10 +05:30
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