feat: scaffold nix-ai-server NixOS flake (no hardware bind yet)#2
Open
JacobPEvans-personal wants to merge 3 commits into
Open
feat: scaffold nix-ai-server NixOS flake (no hardware bind yet)#2JacobPEvans-personal wants to merge 3 commits into
JacobPEvans-personal wants to merge 3 commits into
Conversation
Bare-metal NixOS 25.11+ flake for server A (standalone AI host, never joins
the dryvist Proxmox cluster). CUDA-first AI stack with disko, sops-nix,
nix-ld, and uv2nix-managed Python environments.
- 22 .nix files: hosts/ai-server-a/{default,disko,networking,hardware-configuration},
modules/{system,ai,secrets,monitoring}/*, lib/checks.nix
- 5 ADRs: disko-vs-manual, cuda-vs-rocm, uv2nix-vs-poetry2nix,
openbao-runtime-secrets, standalone-not-cluster-member
- 5 Mermaid architecture diagrams (.mmd source)
- CI: nix flake check + CodeQL + flake updater + release-please +
mermaid render check (now wired with --no-sandbox puppeteer config)
- Renovate config for auto-PR on nixos-26.05 channel ship
Real disko by-id paths + hardware-configuration.nix land in PR #2 once
the host hardware is being reformatted. Current placeholders document
intent only.
Refs: dryvist/Server Infrastructure project epic
Assisted-by: Claude <noreply@anthropic.com>
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
…pkgs module) CI nix flake check failed: nix-ld.dev cannot be enabled at the same time as nix-ld Importing nix-community/nix-ld's nixos module on top of nixpkgs' programs.nix-ld surface (which has shipped in nixpkgs since 23.11) forces the assertion. Drop the flake input + nixosModules.nix-ld import; modules/ai/nix-ld.nix already only touches programs.nix-ld which the nixpkgs-bundled module provides.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Bare-metal NixOS 25.11+ flake for server A — the dryvist homelab AI host.
Server A is standalone and never joins the Proxmox cluster (B+C+D).
CUDA-first AI stack on top of disko + sops-nix + nix-ld + uv2nix-managed Python.
What's in this PR (skeleton only)
Design constraints encoded
mkEnableOption "ten-gig mesh". 1 GbE only.What lands in PR #2 (later)
Real disko.nix by-id paths + actual hardware-configuration.nix once the host hardware is being reformatted.
Mermaid SVG strategy
Source .mmd files committed; rendered .svg files are produced in CI by the mermaid-render-check workflow with a --no-sandbox puppeteer config to work around the SUID sandbox issue in GitHub Actions Linux runners.
Test plan
Refs: dryvist Server Infrastructure project — Mirror + scaffold epic