nixos/readme.md
Alexander Wainwright 82778b6deb docs: add remote deploy/list-generations to readme, tidy CLAUDE.md
Move deploy commands to readme.md. Update CLAUDE.md to reference
readme for commands and reflect the core/base module split and
current host list.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-11 19:55:17 +10:00

40 lines
530 B
Markdown

# Nix Configuration
# Deploy
From within this directory:
```
sudo nixos-rebuild switch --flake .
```
# WiFi
NetworkManager is enabled. Use the terminal UI to connect:
```
nmtui
```
Select "Activate a connection", pick your network, and enter the password.
# Remote deploy
```
nixos-rebuild switch --flake . --target-host <hostname>.local --sudo
```
# List generations
```
nixos-rebuild list-generations
```
# Update and deploy
From within this directory:
```
nix flake update
sudo nixos-rebuild switch --flake .
```