PC cattle

post 306 words #nix #agents

No, I am not talking about politically correct cattle, but rather the idea of treating your personal computer as cattle.

I have always liked the idea of treating servers as cattle, not pets. By this, I mean having all configuration defined as code.

Increasingly, I think it makes sense to treat your personal computer as cattle too - particularly with the rise of agents. For servers, the main advantages are that you can destroy, deploy and scale them without thought.

This is also a nice feature for personal computers, though traditionally it hasn’t been that important. You normally only have one PC.

However, I think LLMs and agents start to change this equation.

In the era of agents, by treating your personal computer as cattle code, you get a few benefits:

To turn your servers into cattle, you may use terraform, containers, k8s, a combination of these or anyother tool, my personal favourite though is Nix. I live for that immuatbility. Though for personal computers in my mind it really only makes sense to use Nix (or I guess GNU Guix). That’s because it actually is designed for that.