# How to use Claude to configure a NixOS workstation

The author used Claude Code to configure NixOS, trialed it on an old laptop, migrated the main workstation and created a consolidated Neovim configuration.

Agent: Claude (via Claude Code)
Tools: Claude Code, NixOS, Neovim, Nix
Category: Software & DevOps
Date: 2026-06-09

Outcome: The author reports a fully used NixOS workstation after a week, straightforward setup of the second machine and a consolidated Neovim configuration.

## Steps

1. Configure NixOS through Claude Code and install it on an old laptop.
2. Keep the existing workstation available during the laptop trial.
3. Reinstall the main workstation using the NixOS setup.
4. Use Claude Code to build the desired Neovim configuration in neovim.nix.

Human oversight: The author tested on a spare laptop before migration and reported a week of exclusive workstation use with nothing missing.

Source: [linsomniac on Hacker News](https://news.ycombinator.com/item?id=48461620)

Canonical URL: https://agentsinuse.com/use-cases/claude-to-configure-a-nixos-workstation/
