Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion full-ai-cluster/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ If you're on Apple Silicon and don't yet have the linux-builder
running, apply the nix-darwin config first:

```bash
nix run nix-darwin/nix-darwin-24.11#darwin-rebuild -- switch --flake .#zeta-mac
nix run nix-darwin/nix-darwin-25.11#darwin-rebuild -- switch --flake .#zeta-mac
```

### 2. Write to USB stick
Expand Down
121 changes: 121 additions & 0 deletions full-ai-cluster/flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 17 additions & 4 deletions full-ai-cluster/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,22 @@
description = "Zeta full AI cluster — declarative from USB to running workloads";

inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
# iter-6.0 (B-0800; the maintainer 2026-05-26 "24.11 is a 2 year old
# version you found a 25.11 when you searched latest we need to make
# sure we are on latest too"): bumped from nixos-24.11 (EOL'd
# 2025-06-30) to nixos-25.11 "Xantusia" (current stable; EOL
# 2026-06-30). Per WebSearch
# https://nixos.org/blog/announcements/2025/nixos-2511/
# validated per `.claude/rules/dep-pin-search-first-authority.md`.
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
flake-utils.url = "github:numtide/flake-utils";

# nix-darwin pinned to matching release branch so Apple Silicon
# maintainers can build the x86_64-linux ISO via the linux-builder
# VM (Virtualization.framework + Rosetta 2).
# VM (Virtualization.framework + Rosetta 2). Same bump as nixpkgs.
nix-darwin = {
url = "github:nix-darwin/nix-darwin/nix-darwin-24.11";
url = "github:nix-darwin/nix-darwin/nix-darwin-25.11";
inputs.nixpkgs.follows = "nixpkgs";
};

Expand All @@ -44,7 +51,13 @@

outputs = { self, nixpkgs, nixos-hardware, flake-utils, nix-darwin, disko, ... }@inputs:
let
stateVersion = "24.11";
# iter-6.0 stateVersion bump (B-0800; PC1 + future cluster nodes
# are fresh-install scope per the maintainer 2026-05-26; no
# persistent K8s workloads yet → safe to bump for new hosts.
# Already-installed hosts should NOT bump stateVersion in their
# per-host nixos/hosts/<name>/configuration.nix without explicit
# migration handling per the NixOS upgrade guidance).
stateVersion = "25.11";

supportedSystems = [
"x86_64-linux"
Expand Down
2 changes: 1 addition & 1 deletion full-ai-cluster/nixos/hosts/worker-template/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -97,5 +97,5 @@
];
# ─────────────────────────────────────────────────────────────

system.stateVersion = "24.11";
system.stateVersion = "25.11";
}
2 changes: 1 addition & 1 deletion full-ai-cluster/nixos/modules/common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# Shared baseline every cluster host imports.

{ config, pkgs, lib, stateVersion ? "24.11", ... }:
{ config, pkgs, lib, stateVersion ? "25.11", ... }:

{
# iter-5.2 (B-0792): per-node hostname injection lives in its own
Expand Down
4 changes: 2 additions & 2 deletions full-ai-cluster/tools/zflash.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
// End-to-end keystrokes after first-time setup:
//
// $ bun full-ai-cluster/tools/zflash.ts
// ISO: ~/Downloads/zeta-installer-24.11.iso (1.70 GiB)
// ISO: ~/Downloads/zeta-installer-25.11.iso (1.70 GiB)
// USB: /dev/disk6 (115 GiB, USB 3.2.1 FD)
// *** ALL DATA ON /dev/disk6 WILL BE DESTROYED ***
// type: yes a3f9
Expand Down Expand Up @@ -408,7 +408,7 @@ function autoDownloadFreshIsoIfNeeded(localIso: string): string {
dlDest = join(
homedir(),
"Downloads",
`zeta-installer-24.11-ci${latest.id}-${latest.updated_at.slice(0, 10)}.iso`,
`zeta-installer-25.11-ci${latest.id}-${latest.updated_at.slice(0, 10)}.iso`,
);
if (!existsSync(dlDest)) {
execFileSync("cp", [ciIsoSrc, dlDest], { stdio: "inherit" });
Expand Down
61 changes: 61 additions & 0 deletions full-ai-cluster/usb-nixos-installer/flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions full-ai-cluster/usb-nixos-installer/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,16 @@
description = "Zeta USB installer — NixOS bootable image for AI-cluster bootstrap";

inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
# iter-6.0 (B-0800): nixos-25.11 "Xantusia" current stable (bumped
# 2026-05-26 from EOL'd 24.11; matches sibling full-ai-cluster/
# flake.nix).
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
flake-utils.url = "github:numtide/flake-utils";
};

outputs = { self, nixpkgs, flake-utils, ... }@inputs:
let
stateVersion = "24.11";
stateVersion = "25.11";
in
{
nixosConfigurations.installer = nixpkgs.lib.nixosSystem {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -323,5 +323,5 @@
Reboot when done.
'';

system.stateVersion = "24.11";
system.stateVersion = "25.11";
}
Loading