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>
40 lines
530 B
Markdown
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 .
|
|
```
|