A self hosted web archiving tool with support for extendible processing pipelines (eg. extract article -> translate -> summarize -> generate tags, download video -> split audio track -> transcribe -> summarize), which led me to make a managed chromium browser with extensions and warc support for archiving, and a RSS feed synthesizer (take random article listing page that doesn't have RSS and generate a feed for it) so that I can plug it into my archiver. An active learning loop for a model to clean up articles by removing junk like native ads and sponsored blocks. A tabbed terminal with project management features like launching the database, app server, and claude code in different tabs with one click, and split browser/terminal panes (eg. opening a browser automatically at the correct URL when the terminal reads http://localhost:4000/). A modular MCP server with a MCP proxy and OAuth2 dcr so that I can easily add new random ideas for MCP servers in a few minutes with Claude and deploy them such that it's available to Claude by refreshing the tool list. A small tool to render Claude conversations so that I can link to them from my obsidian vault with something like convo://claude-code/-home-jfim-projects-foo/ And overall just deploying docker containers for my self hosted setup Most of it is on GitHub, in various states of readiness.
I've redesigned my workstation OS using NixOS and Claude Code and it's been a huge success.
I like the ideals of NixOS: reproducible setup from a git repo, ability to boot into a past config if you mess things up. But it's a big job learning and implementing that configuration manually. I've been playing with NixOS for ~2 years and like it but never really got that close to a full workstation setup. When Ubuntu 26.04 came out I really needed to upgrade my 22.04 workstation and decided I'd really give NixOS a try before going with 26.04. This time I decided to entirely configure it via Claude Code. I've been entirely running on it for a week and there's nothing I'm missing. I even took a stepping-stone approach where I first installed it on my old laptop, left my current workstation in place (in case the experiment failed), and then did a reinstall of my current workstation. NixOS made setting up the second machine trivial. Now, if my normal workstation were to have a hardware failure, I can just grab my /etc/nixos and rebuild and I'm back in business. Which is important since my workstation is now out of warranty and 6 years old. One win is that I had been using LunarVim and AstroVim, and liked the "batteries included" approach, but they were hard to upgrade and while I was trying to do as little customization as possible, I still needed to do some and that was tricky in their configs. I used Claude Code to build a neovim setup with just my desired features, and it's now a single ~700 line neovim.nix file with everything in it. It's fully featured including LSPs+TreeSitter, etc.
I’d love to give NixOS a try on an old ThinkPad. I’m pretty comfortable with Claude; is it as simple as ask and go, or do you have any suggestions for getting started?
I installed NixOS, and then I copied /etc/nixos down to my main workstation where I had claude code working, and used it to modify the configs. I'd then rsync them to the other machine and run the "nixos-rebuild" there. I don't recall exactly how I did the initial copies, because SSH wasn't set up there. Probably would be best to just ask claude what needs to be done to enable SSH, it's only like a 1 line change. Some of the first things I asked it to do were:
- Switch to flakes and tracking the latest software.
- Switch to using Sway for window manager.
- Various user account setup things: Configure zsh with atuin and zoxide, enable sudo, allow my SSH key for login, set up some aliases and the software I need.
- Install claude code (I gave it the "installing" URL) once I got tired of copying back and forth.
- Set up Home Manager and SOPS and put my secrets in SOPS, set up a variety of my scripts and symlinks.
- Configure vim to my liking (done entirely in English prose).
Those are the top things that come to mind. Honestly, it went pretty smoothly. The only real issue I had to speak of was that I'm running bleeding edge, and the moment I decided to unplug my desktop monitors from the Ubuntu machine and connect them to NixOS I had it do a package update at the same time. This hit a Gnome+Wayland bug which left me at a black screen. A nice thing about NixOS is you can just reboot and at the grub menu select an older system config, so I did that. Claude tracked down an open bug about it, tried a few mitigations, but eventually I told it to just revert the version of gnome until it was fixed upstream.
It has gone extremely smoothly. Zero regrets. My manual attempts at NixOS always ran me into dark corners that I didn't know how to do (like installing gitbutler-cli, which is not packaged for NixOS yet), and Claude had no trouble figuring out.
One addition: Flakes is something that I think Claude recommended at the point I switched over to home manager+SOPS. Flake, Home Manager, and SOPS were all things I was somewhat aware of from my previous attempts at NixOS. If you are coming in brand new, I'd probably recommend asking Claude to start with flakes sooner rather than later. Just specifically ask it to use flakes.
Pretty much everything else I did without asking Claude much in the way of NixOS specifics. I just described what I want in general terms.
https://gitlab.com/grepular/foxcage - Runs Firefox inside podman to isolate it from the host. Has some interesting features that I wanted and nothing else gave me. https://gitlab.com/grepular/claude-sandbox - Yet another Claude sandbox. Runs it inside podman again. Has a pretty powerful proxy system for securing your credentials. Currently working on a tool for sanitising email. Will be blogging it up at https://www.grepular.com/blog/ when it's ready for others to use. Does things like applying policies to html/svg/calendar/vcard parts to whitelist or blacklist tags/attributes/css/url schemas, clean URLs, fetch remote content at delivery time and attaching to the email to prevent tracking, pgp and smime auto encryption/decryption and a million other features.
A SQLite based sweeper of all the scans, notes, PDFs and images I have on my filesystem, that stores their paths and allows searching their OCR’ed descriptions and text, as provided by Mistral OCR. I can ask things like “when does my car need maintenance” or “find me that picture my kid drew for Mother’s Day”. I use pi-based bash executable to launch a doc chat like that.
https://github.com/maxim/ringbinder
Yeah, for me it was all about not letting mail and kids schoolwork pile up. I like to scan ads that local businesses leave in my mailbox, so that I can ask "show me lawn care services near me". A lot of them don't really have any other online presence.
Btw, I tried to keep the Mistral part modular, so that another OCR could be integrated.
IME way better. It may not be the best out there, but it's cheap (2c per page), fast, easy to integrate API, and sufficient for my needs. It does things like describe what's drawn in pictures and shown in graphs, which all helps when searching.
great! have you tested how well it return coordinates of objects/text? Ive tried with generic LLMs like Gemini/Qwen/Gemma and they all are unstable with coordinates around text, better when using visual grounding though
Comments (788) 595 threads
Earlier commentsA self hosted web archiving tool with support for extendible processing pipelines (eg. extract article -> translate -> summarize -> generate tags, download video -> split audio track -> transcribe -> summarize), which led me to make a managed chromium browser with extensions and warc support for archiving, and a RSS feed synthesizer (take random article listing page that doesn't have RSS and generate a feed for it) so that I can plug it into my archiver. An active learning loop for a model to clean up articles by removing junk like native ads and sponsored blocks.
A tabbed terminal with project management features like launching the database, app server, and claude code in different tabs with one click, and split browser/terminal panes (eg. opening a browser automatically at the correct URL when the terminal reads http://localhost:4000/).
A modular MCP server with a MCP proxy and OAuth2 dcr so that I can easily add new random ideas for MCP servers in a few minutes with Claude and deploy them such that it's available to Claude by refreshing the tool list.
A small tool to render Claude conversations so that I can link to them from my obsidian vault with something like convo://claude-code/-home-jfim-projects-foo/
And overall just deploying docker containers for my self hosted setup
Most of it is on GitHub, in various states of readiness.
I like the ideals of NixOS: reproducible setup from a git repo, ability to boot into a past config if you mess things up. But it's a big job learning and implementing that configuration manually. I've been playing with NixOS for ~2 years and like it but never really got that close to a full workstation setup.
When Ubuntu 26.04 came out I really needed to upgrade my 22.04 workstation and decided I'd really give NixOS a try before going with 26.04.
This time I decided to entirely configure it via Claude Code. I've been entirely running on it for a week and there's nothing I'm missing. I even took a stepping-stone approach where I first installed it on my old laptop, left my current workstation in place (in case the experiment failed), and then did a reinstall of my current workstation. NixOS made setting up the second machine trivial. Now, if my normal workstation were to have a hardware failure, I can just grab my /etc/nixos and rebuild and I'm back in business. Which is important since my workstation is now out of warranty and 6 years old.
One win is that I had been using LunarVim and AstroVim, and liked the "batteries included" approach, but they were hard to upgrade and while I was trying to do as little customization as possible, I still needed to do some and that was tricky in their configs. I used Claude Code to build a neovim setup with just my desired features, and it's now a single ~700 line neovim.nix file with everything in it. It's fully featured including LSPs+TreeSitter, etc.
I installed NixOS, and then I copied /etc/nixos down to my main workstation where I had claude code working, and used it to modify the configs. I'd then rsync them to the other machine and run the "nixos-rebuild" there.
Those are the top things that come to mind. Honestly, it went pretty smoothly. The only real issue I had to speak of was that I'm running bleeding edge, and the moment I decided to unplug my desktop monitors from the Ubuntu machine and connect them to NixOS I had it do a package update at the same time. This hit a Gnome+Wayland bug which left me at a black screen. A nice thing about NixOS is you can just reboot and at the grub menu select an older system config, so I did that. Claude tracked down an open bug about it, tried a few mitigations, but eventually I told it to just revert the version of gnome until it was fixed upstream.I don't recall exactly how I did the initial copies, because SSH wasn't set up there. Probably would be best to just ask claude what needs to be done to enable SSH, it's only like a 1 line change.
Some of the first things I asked it to do were:
It has gone extremely smoothly. Zero regrets. My manual attempts at NixOS always ran me into dark corners that I didn't know how to do (like installing gitbutler-cli, which is not packaged for NixOS yet), and Claude had no trouble figuring out.
Pretty much everything else I did without asking Claude much in the way of NixOS specifics. I just described what I want in general terms.
https://gitlab.com/grepular/foxcage - Runs Firefox inside podman to isolate it from the host. Has some interesting features that I wanted and nothing else gave me.
https://gitlab.com/grepular/claude-sandbox - Yet another Claude sandbox. Runs it inside podman again. Has a pretty powerful proxy system for securing your credentials.
Currently working on a tool for sanitising email. Will be blogging it up at https://www.grepular.com/blog/ when it's ready for others to use. Does things like applying policies to html/svg/calendar/vcard parts to whitelist or blacklist tags/attributes/css/url schemas, clean URLs, fetch remote content at delivery time and attaching to the email to prevent tracking, pgp and smime auto encryption/decryption and a million other features.
Btw, I tried to keep the Mistral part modular, so that another OCR could be integrated.
Continue this thread — 1 reply
All comments shown.
Couldn't load more comments. Check your connection and try again.