Files
nixos-4screen/docs/nixos_build_spec.md
sam rolfe 21eccc0e75 docs: document NVMe size and sector count in build spec
Co-authored-by: aider (openrouter/openai/gpt-5.2) <aider@aider.chat>
2026-02-08 14:07:39 +11:00

49 lines
1.8 KiB
Markdown

# NixOS Build Spec (sam-4screen-desktop)
## Disk / Boot (DO NOT BRICK WINDOWS)
Target disk: /dev/nvme0n1
- Size: 953.87 GiB (1024209543168 bytes), 2000409264 sectors
- Model: PM951 NVMe SAMSUNG 1024GB
- Sector size (logical/physical): 512 bytes / 512 bytes
Install target is NVMe only. Do not select /dev/sdX devices in the installer.
KEEP (do not format):
- /dev/nvme0n1p1 (EFI vfat) UUID=94CC-9DA4
- /dev/nvme0n1p2 (MS reserved)
- /dev/nvme0n1p3 (Windows NTFS) UUID=8294CD2994CD2111
- /dev/nvme0n1p4 (Windows recovery NTFS) UUID=6E1AA32B1AA2EEF1
WIPE + install NixOS here:
- /dev/nvme0n1p5 (currently Ubuntu ext4 /) UUID=4e99904c-ce6f-4c3c-898a-e29cfc373489
## Other attached disks (DO NOT FORMAT)
- /dev/sda (240GB) model: Patriot Burst El (KEEP)
- /dev/sda1: Microsoft reserved partition (~15MiB)
- /dev/sda2: NTFS label "Back Up" (keep)
- /dev/sdb (500GB) ext4 label "TempBackup" (keep)
- /dev/sdc (320GB) ext4 label "Integral300" UUID=27febd74-20aa-4a3a-92c1-6fdd1ad7e88e (mount at /data)
- /dev/sde (160GB) ext4 label "XPSystemDrive" (keep)
Bootloader:
- systemd-boot, using the existing EFI partition (/dev/nvme0n1p1)
## Networking
- Use NetworkManager
- Static IPv4 for wired: enp0s31f6 = 192.168.20.27/24
- Gateway: 192.168.20.1
- DNS: 192.168.20.35, 192.168.20.13
## Data drive mount
- Integral300 ext4 UUID=27febd74-20aa-4a3a-92c1-6fdd1ad7e88e
- Mountpoint on NixOS: /data (preferred)
## Desktop
- Primary compositor: Niri
- Display/login manager: greetd + tuigreet
- Session start command: `niri --session` (do not use `niri-session`)
- GPU: Intel HD 630 + NVIDIA Quadro P620
- Display appears to be driven by NVIDIA Quadro P620 (observed `/dev/fb0` on Ubuntu scan). Treat NVIDIA as primary unless proven otherwise.
## Secrets policy
- No API keys or WiFi PSKs committed to git