Some Bits: Nelson's log

7 posts in October 2026

Accessing Plex containers for Claude

I have like 20 containers in Proxmox now doing various services. I used to use Tailscale to access them all but my tailnet was getting cluttered up with stuff that only needed to be reachable for admin purposes, not regular use. This got untenable using Claude to do admin work.

The setup Claude came up with just requires LAN or Tailscale access to the proxmox host (pve). It then jumps through that via ssh to the each to container via a LAN connection. One added complication: Claude has to use an HTTP proxy for any ssh at all.

sandbox → HTTP proxy → claude@pve (over Tailscale) → ProxyJump → root@192.168.0.99:22 (the container)

Claude has its own ssh key that it’s managing. I am trusting this key with limited access to PVE and then full root access on the container. Scary but so far so good!

On PVE, Claude has a user account with a restrictive authorized_keys for Claude’s key. It limits what the key does to just proxying ssh PVE to the container. There’s one line like this for each container.

restrict,port-forwarding,permitopen="192.168.0.99:22",command="/bin/false" ssh-ed25519 AAAA… claude@desktop foo

On the container, root’s authorized_keys allows Claude in with full access.

In Claude’s shell environment, it has an SSH config with stanzas like this:

Host example
  HostName 192.168.0.99
  HostKeyAlias example-ct317
  User root
  ProxyJump pve

ProxyJump is a bit of ssh config magic that simplifies the process of sshing first into once place and then onto a second.

(I’m skipping over the details of how Claude uses the HTTP proxy to connect to PVE in the first place. This is necessary for any ssh at all to work, Claude Code seemed to have a solution for that workaround.)

This all seems baroque as I’m typing it all out (myself, not Claude) but it’s quite simple. Bottom line: Claude gets full root access to a container behind a firewall without tailscale on each container. Instead we use Proxmox as an ssh proxy but Claude only has minimal permissions on the Proxmox host.

Customizing Android TV (Sony Bravia)

I have a Sony Bravia TV running Android TV. It’s mostly quite nice, I like Android better than Roku or whatever weird TV vendor OSes are out there Plex works, Youtube works, that’s really all I care about. Unfortunately it’s also loaded with ads and various UI features I don’t want. Here’s some fixes.

Apps only mode

The first thing is very easy but new-to-me: apps-only-mode. Basically you tell it you just want the home screen to be a grid of apps to launch. Most of the other UI crap falls away. Unfortunately there’s still one big box at the top Google controls, right now it’s shilling Tubo and AppleTV and Google TV. But at least it’s down to the one box.

Disable Samba Interactive TV

A second simple improvement is to find “Samba Interactive TV” and turn it off. Mine was hiding under System, I think, unless it was Privacy. This is the “service” that watches what’s on your screen and tells advertisers what you are watching. It is spyware, disable it.

Hacking in Android debug mode

Android devices are nicely generic and there’s a lot of tweaking you can do if you’re willing to enable developer mode and connect through the debug system. I suspect there are many ways to skin this cat.

I used ATV Optimizer, a nice desktop GUI that gives you various menus to tweak things and take a snapshot, roll back, etc. It’s a little scary, I’m sure you can break the TV if you try hard enough, but the tool seems pretty usable.

Enabling debug access

The first thing is getting the TV to let your desktop connect in debug mode. For me I first had to enable developer mode. Then I had to turn on “USB debugging” and also “Wireless debugging”. The latter wouldn’t enable for me: turns out they really mean “wireless” and I had to unplug my ethernet and switch to WiFi. Finally I had to do a one-time pairing with a PIN. All this was a hassle that Claude helped me get through but in the end ATV Optimizer was able to connect.

Animation speed

The best optimization I made was a Tweak that sets the animation speed to 0.5. Which apparently means “twice as fast”. Suddenly the TV doesn’t feel awful and laggy. Why do UI designers create such slow animations? Argh!

Services

ATV Optimizer mostly is a tool that lets you disable various services running on your Android device. It gives you a list of what’s running in the background. I was pleasantly surprised how little junk my Sony TV had running, I ended up not feeling like I had to disable anything.

Launcher

A final step is to replace the stock Android TV launcher with something else. The good launchers don’t have any ads at all, just the stuff you want on screen. They also tend to be lower memory and CPU usage. ProjectIvy is popular and is what I picked. I think the main variance in these things is how you customize them.

I like ProjectIvy alright but in the end decided not to install it as my default launcher. Gonna stick with Google’s launcher in apps only mode first and see if that’s good enough. A broken launcher could cause real havoc so it’s not something to replace lightly.

Updating Plex in Linux (NixOS)

Major Plex exploit this week shows out a bunch of older Plex servers that weren’t updated. Turns out Plex server does not auto-update itself in Linux. It does on Mac and Windows. But in Linux you’re expected to update it yourself through your OS.

I used to run Plex server on Debian. Updating there was as simple as an apt upgrade. But you’d still have to remember to run that, I’m not sure unattended-upgrades covered it.

I’m now running Plex server on NixOS. Entirely with Claude Code’s help managing Nix. We came up with several ways to update it, none entirely satisfactory:

  1. Install Plex from nixpkgs, either stable or unstable. You can run system.autoUpgrade and have NixOS update itself on a timer. This works but updates tend to be a little behind: nixpkgs is a few weeks behind Plex releases. The crucial security fixes did come out in a timely fashion.
  2. Install Plex with Nix yourself from a hand-rolled file that grabs a pinned Plex server .deb and installs it in NixOS. This is a little tricky because of Nix’ assumptions about paths, Claude ended up creating a bubblewrap environment for it. The problem is for new Plex releases you have to repin, run a Nix update yourself from your dev environment, rebuild and switch.
  3. Don’t install Plex with Nix. Instead make a generic NixOS container that manages everything except Plex’s own program files. Then have that container launch a script to download and install Plex in /var/lib in the NixOS container. Also an update script that downloads new versions and installs them on its own.

There’s a similar question with Plex’ config file, the Preferences.xml. Claude started wanting to manage that itself as part of the Nix config. But that means the Plex GUI for editing the config would be overwritten by new Nix pushes. The other option is just to keep it as a file outside of Nix on the server.

I started with option 2 (my Nix config doing the work). I quickly got irritated at how much work I had to do to push an update. So now I’m in option 3. I lose Nix management of Plex and its config file. But Claude’s own script can handle upgrades for me, it seems like a reasonable design. We’ll see in a few weeks.

Option 1 is probably the simplest and most reasonable. I went with 3 because I wanted updates ASAP.

Six weeks of Claude Code

I’ve had an extraordinarily creative and productive six weeks of hacking on personal projects thanks to Claude Code and Opus 5 (now 5.5). I’ve been futzing with AI for a couple of years but never quite took it seriously and never trusted it. Opus is good enough I trust it, now I regularly have Claude building and doing things for me.

I know there’s a lot of tension about generative AI right now. For my stage in my retirement, it is an excellent tool for me. I no longer have the patience or desire to work so diligently on these kinds of projects. And most of my projects are just for myself. In general I only care about the output. A lot of these projects are HTML renderers: I don’t care about the code that takes my Goodreads reviews and turns them into HTML. As long as the HTML is good I’m happy.

Not to say that Claude’s code isn’t quality. When I look closely it seems quite good, in many ways better than mine. Opus 5 anticipates a lot of potential problems. It creates effective tests. It’s very thorough and never gets sloppy. I still have to be here and steer it, my expertise has value shaping the work it does. But I now think of Claude as just as good at coding as I’ve ever been in the domains I’m expert in. In other domains (like NixOS) it’s way better.

Projects

Various coding projects, many of them HTML renderers. I’ve linked the things that are live and public. Some of these time estimates are not right. This isn’t the full list btw, I’ve not included some private or uninteresting things.

  • linux-sound-diagnosis – Read-only logging scripts to track down an HDMI/eARC audio glitch that leaves sound 1 second late. Started Aug 28, under 1 hour.
  • storify-trip-postcards – Cleaned up the HTML of old Storify trip threads saved as static pages. Started Aug 31, under 1 hour.
  • mastodon-postcards – Turns Mastodon travel threads, plus recovered Twitter and Storify ones, into HTML photo galleries. Hand-written since Mar 2025; Claude work started Sep 3, about 6 hours.
  • epub-endnotes – Script that links the invisible endnotes in an EPUB. Started Sep 29, about half an hour.
  • steam – A pull of my Steam games list through the API. Started Sep 29, hours unknown (probably a web chat).
  • weblog – Static blog generator for my weblog, handling old Blosxom .txt files and Markdown. This was a total rewrite. Started Sep 30, about 7 hours.
  • books – Goodreads library and reviews as a faceted static site, rebuilt daily. Started Oct 3, about 12 hours.
  • linkblog – Static site and Atom feed for my linkblog. Hand-written since Jul 2022; Claude work started Oct 6, about 9 hours.

Servers

Servers, mostly on sfpve my private Proxmox server. These are all built on NixOS and the agent does most or all of the sysadmin for them. Time estimates here are too long, probably because they’re including time running long sync and verification jobs.

  • servers docs – Shared principles, inventory and the sfpve Proxmox API tools. Started Sep 21, about 4 hours.
  • somebits – The public OVH VPS serving somebits.com and the other static sites. Started Sep 9, about 25 hours.
  • vault – Personal file storage: a NixOS container on sfpve with its volumes and backups. Started Sep 16, about 27 hours.
  • homepage – LAN bookmarks. Started Sep 21, about 1 hour.
  • gateway – Caddy + Authelia in front of every private web service. Started Sep 22, about 2½ hours.
  • upsnap – Wake-on-LAN web page. Started Sep 22, about 1 hour.
  • tt – Moved everything off tt, my 20-year-old Ubuntu machine, and switched it off. Started Sep 23, about 5 hours.
  • jobs – Small container for scheduled chores, starting with tt’s cron jobs. Started Sep 23, about 2 hours.
  • arr – Sonarr, Radarr and SABnzbd, moved off tt. Started Sep 24, about 9 hours.
  • sfshell – Fedora login box that replaces tt. Started Sep 26, about 1 hour.
  • sonossmb – Read-only SMB1 music share for the old Sonos speakers. Started Sep 28, about 1½ hours.
  • prox-sync – Script that syncs video from SF to Grass Valley. Started Oct 1, a few minutes.
  • linkblog – linkding, the linkblog generator and feed2toot, all in one container. Started Oct 3, about 5 hours.
  • backups – Read-only checks of my restic backups on B2. Started Oct 4, about 2 hours.
  • web – Public static server for sf.pub.somebits.com. Started Oct 5, about 2 hours.
  • books – Runs the book-reviews update every night and pushes it to somebits.com/books. Started Oct 10, about 1 hour.
  • tsexit – Tailscale exit node. Started Oct 10, about half an hour.

Steam Machine first impressions

On an impulse I bought a Steam Machine, a 512GB unit with controller. It’s very good! I signed up to order Sep 4 and it arrived Oct 8.

I’ve been fooling around with Linux gaming for awhile now, including Bazzite on a mini-PC for my TV. I’ve been very impressed but Linux has some rough edges. Was curious if the commercial supported product would be better. It is!

The overall product experience is quite good. Nice packaging, it works right out of the box, it’s simple to set up (login is just a click in the mobile app). There was one hiccup (some tutorial messages suggesting keyboard controls I don’t have access to) but overall very solid.

Game behavior seems much nicer. HDR works out of the box, as does switching resolutions and changing windowed / fullscreen in various newer games. I’ve had a lot of trouble with that in my own Linux gaming setups. I think the Steam Machine is just committed to running everything in gamescope always? It seems to work. They’re using MangoHUD for a performance overlay with good defaults, too.

Big improvement: the system wakes from sleep when I press the Steam controller button. Trying to get this working with Linux and other controllers is a huge PITA, I’ve never managed it.

It has a giant fan on the back and seems to be very quiet.

I haven’t seen much bullshit about shader compiling / update downloads. Both Enshrouded and Borderlands 4 give my desktop Linux box fits with that, lots of rebuilds, hangs, downloads. Steam Machine just seemed to work. Enshrouded recompiled shaders once in-game, a couple minutes’ wait, but then it just works.

Borderlands 4 has also been tricky on Linux because the game has its own in-game updater. On my desktop system it ends with a DOS window open saying something about the update and expecting me to type exit or close it. That didn’t happen on the Steam Machine. I saw the window and then it closed it itself somehow.

In general performance on the Steam Machine is good. I’m not equipped to really evaluate so I can say it’s significantly better than the Radeon 680M mini-pc it replaces. And obviously not as good as the Nvidia 5060 on my desktop. The Steam Machine comes preconfigured to limit at 1080p. But lower spec games work fine at 1440p or 2160p. HDR 10 works everywhere. 120Hz, too! First time I’ve ever seen that and not sure I can tell the difference.

I don’t love the Steam Controller. I didn’t like the old Steam Link one either. Really I’m happy with a classic Xbox controller with one extra set of buttons to replace the awkward stick-click input. They’re trying to make a controller work as mouse with a touchpad and enough remappable buttons to substitute as a keyboard too. This thing has a crazy number of capacitive sensors (two touchpads, two touch sensors on the joysticks, two touch sensors on the back) and they don’t seem useful for much. The mouse mode is too jiggly. The extra paddle buttons on the back are awkwardly placed. I’ll note all this other stuff on the controller is turned off in most games by default, even games that would benefit from it. Steam has a nice controller mapper to add in extra buttons but it’s an awful lot of work to set it up.

All in all I’m excited about this machine. It’s a shame it came after the components parts shortage and is priced at $1100. Even $800 would be a stretch for the market, I think. The pricing is fair given current market conditions, I’m sure you can’t build something of similar quality for much cheaper. But it feels awfully expensive for a toy.

Book reviews from Goodreads to static site

Another AI project under my belt, my book reviews. I took the nearly 700 book reviews I’ve written on Goodreads and formatted them as a fancy static webapp. No more depending on Goodreads’ crappy product, no longer at the whim of their random decision to lock my reviews behind a password login.

I’ve built this renderer entirely for myself. In olden days I would have spent two months and tried to build a product others could use. No one would have. Now I’m just AI coding it for myself.

I’m pretty happy with the result. The data slices are fun. For instance, you can see the popular books I liked more than most or the long queer reviews I wrote.

AI Design

This is the first project where I didn’t even have a clear design in mind. Instead I asked Claude Code / Opus 5.5 High to come up with design ideas itself. Some example prompt language:

build my own blog out of my goodreads reviews. I care most about my book review text, my rating... a book cover would be amazing… some nice presentation of the book, like a little card about it ...

one big blog doesn’t work… show all 5 star books… novels? science fiction? popular vs obscure? Queer vs not queer? how many ways are there to categorize and slice my reading? be creative, I’ll use what you do to inspire myself ...

it’s too busy and looks too much like goodreads. ... one line per book, no covers. I want to retain the facet UI… but I don’t want all those fussy buttons dominating the screen! I like how clicking on a book gets you a popup… model the style off of my ‘house style’. the challenge here is keeping all the functionality on the oct5 preview while making the UI seem simpler.

It’s pretty vague instructions. But the AI did well with them. It came up with the facet / slicing design and also the various categories. It came up with its own ways of building lists of genres, deciding which books were queer, that comparing my ratings vs. average ratings would be interesting. I would call this creative product design.

One huge help with an AI is it can prototype things quickly, at low cost to me. And thoroughly. The prototypes it showed me were basically working products, not sketches. It was much easier to evaluate.

Data collection

Claude and I worked together to get the data. I started with some Goodreads data dumps, their CSV and DSAR exports. These are notoriously incomplete. Claude volunteered that Goodreads had good RSS feeds, a total surprise to me, and so that’s become a primary datasource now. Particularly for future updates.

Claude also suggested using Open Library as the other main source for book data. Cover images, bibliographic detail.. It also figured out how to correlate Goodreads’ titles into Open Library, there’s not a clear ID you can always use so sometimes it’s matching titles and authors.

The extractor runs once a week and boils everything down to a single JSON file cataloging all the books.

Presentation

The presentation part is pretty simple. I tried first having it make a blog presentation, one file per review and stuff linked together. But that seemed fussy and didn’t solve the interesting problem of slicing the aggregate reviews. So the current thing is one JSON-driven web page with some light Javascript for formatting. It seems pretty snappy.

I will probably still do a second scriptless presentation with one URL per book, just for the search engines.

Claude and NixOS servers workflow

I’ve now had Claude build nine servers for me, small NixOS containers for one or a few grouped tasks. I’ve got a pretty reasonable workflow that reduces my work to 30 minutes of writing instructions, 5-10 minutes of back and forth answering questions and setting stuff up that Claude doesn’t have permission to access, then 1-2 hours of Claude working on its own to get a server up. Then a few minutes testing and I’m done.

The simple servers run things like homepage or upsnap or an SMB server. There’s some more complex servers running a full *arr stack (three big pieces of software) or several custom programs that work together to publish my linkblog. I’m mostly cloning existing servers, so often the first step is to have Claude inventory the old server and figure out how to move it into Nix.

Workflow

I start by writing an initial instructions document that tells Claude what I want the server to do. I explain what server I’m cloning (if any) and some ideas of what I want the new one to do. Like “install linkding” and also “this database linkding maintains is precious, be sure to back it up via restic”. The instructions end with a command to produce a design document and work plan for me to review.

Claude looks at my instructions and has a few questions producing the design doc or needs me to give it access to something. I am giving the agent root access on the old servers now and asking it to only read stuff. So far so good. For the Proxmox hypervisor I’ve given Claude a read-only audit key so it can inspect but not change things.

Claude then writes the design doc and work plan. I review it and produce a second document with design feedback and clarifications. I’ll skim the work plan but not review it, really it’s there so Claude has a place I can see to post its progress as it works. Claude is perfectly capable of doing all this in its own internal memory but I want these documents visible and checked into git for future consultation.

Once we’ve iterated to a design I then tell Claude “work as hard as you can. don’t bother me, work for hours and get this done”. That seems to work well, particularly with Opus 5.5. Instead of it pestering me for help it’ll find its own solutions like spinning up a local VM to test something. Sometimes this is alarming: twice now it’s found access to ssh keys it shouldn’t really be using to go check or modify something on a different server.

One interruption comes in the middle: Claude will produce a NixOS server image but it can’t create a container in Proxmox for it because it doesn’t have access. So it’ll stop and ask me to do that. It gives itself root access to the new container so it can upgrade and iterate after then. It’d be neat to have a generic bootstrap NixOS container I gave Claude permission to create to get itself started.

Once the iteration is done Claude usually has a few leftover things for me to clarify or test. And then we’re done! For old servers Claude drafts a cutover plan with some testing and turning off of old things. I used to be nervous and the plans had delays of days or weeks to slowly roll out the new server. But my stuff is low stakes and Claude is so thorough that I now trust it as long as I have a backup.

I started by having each server be its own separate Claude Code agent with its own repo and working area. But the agent keeps jumping out of its lane, looking at other servers’ configs and occasionally even making modifications. In every case that’s been helpful and I’m contemplating just having one agent manage the whole fleet of little containers in the future.

Server design principles

I do have a top level set of documents for the whole server fleet. There’s an inventory of all the servers and where they are. There’s a principles document with things Claude documented after our first couple of servers, rules like “Nothing untested reaches a real host” and “make the NixOS images as small as possible”.

I intended to review all these principle docs but they’ve gotten so wordy that they are Claude’s now, I just skim them. I do have a separate “Nelson’s Notes” document Claude isnt’ allowed to edit with extra things I personally care about.

I never look at the .nix files.

Reflection

I realize just how YOLO I’m being about all this. I can do that because this is just my home environment. Also I trust my backups. I have Proxmox snapshotting all the containers. And Claude is producing Restic backups for my precious data that I myself have verified. This could still all go catastrophically wrong, particularly if Claude went rogue, but I feel pretty good about it.

I have zero regret about handing off sysadmin work like this to an AI. I’m proud of my sysadmin skills, they come hard-earned after 35 years. But it’s boring work and not very creative. Also I’m sloppy and slow at it. Claude does a better job.