mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-12-05 20:16:17 +01:00
oh-my-pi is a feature-complete superset of pi, so its role is already covered: opencode2 for a batteries-included harness, pi for the minimal/local-model one. Keeping it meant maintaining two nearly identical harnesses.
Host - AI
Desktop (NixOS + preservation, LUKS + btrfs on nvme). Disk layout is declarative via
disko (target device: the KINGBANK NVMe by /dev/disk/by-id/, set in that file).
Related:
- nixos-installer README – install from ISO using disko
- disko-fs.nix – main disk layout (ESP + LUKS + btrfs). From
nix-config/nixos-installer:
nix run github:nix-community/disko -- --mode destroy,format,mount ../hosts/idols-ai/disko-fs.nix - disko-fs-data.nix – data disk layout (LUKS + btrfs at /data)
Info
The disk layout is fully declarative — see disko-fs.nix for the root disk and
disko-fs-data.nix for the data disk. Run df -Th / lsblk on the host if an
up-to-date snapshot of the current mounts is needed.