No description
- Nix 95.6%
- Shell 4%
- Perl 0.4%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
The LAN9514 drives them itself, so there is no led class device to point udev at and no dtparam either — eth_led0 is lan78xx/bcmgenet, i.e. 3B+ and Pi4. smsc95xx ORs the three LED mux bits into LED_GPIO_CFG unconditionally in its ->reset, so the only lever is to clear them again afterwards. A vendor control request is what the driver itself uses for register access, and usbfs permits vendor-type requests without claiming the interface, so the driver stays bound and the link never drops. Read tested against a live box: the register holds 0x01110000 and nothing else, and clearing it hands the three pins back to GPIO in high-Z. perl is already in the closure via systemd, so this adds nothing to a machine with 1GB of RAM and an SD card. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01C5KuVY7ZBrhZtE8xWQjTZ8 |
||
| hosts | ||
| lib | ||
| modules | ||
| secrets | ||
| .gitattributes | ||
| .gitignore | ||
| .sops.yaml | ||
| BLOCKERS.md | ||
| CLAUDE.md | ||
| ENCRYPTION.md | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE | ||
| README.md | ||
| RESTORE.md | ||
nixos-config
Personal NixOS flake for the homelab. Host names follow a Greek/Latin philosophy theme.
Hosts
| Host | Role | Platform |
|---|---|---|
| akrasia | Gaming + LLM + NAS + headless service hub | Tower, 2× GTX 1080 |
| logos | Programming laptop | Dell Latitude 5400 |
Arche (the former headless server) was decommissioned after a fatal USB-C power-delivery fault; its services now run on akrasia.
Build a host
nix build .#nixosConfigurations.<Host>.config.system.build.toplevel
Deploy
nix run github:serokell/deploy-rs -- .#akrasia
Secrets
All secrets live under secrets/<host>/ and are encrypted with
sops-nix + age. Host-specific age
keys live in /persist/sops/key.txt on each machine.
Restore
See RESTORE.md for the recovery runbook — the order matters, because the offsite copy is the only place the age keys survive.
Disk encryption
akrasia's disks are not encrypted yet. See ENCRYPTION.md for the plan — Tang on the rpi3, system disk first, and the passphrase escrow that has to happen before any of it.