feat(nixpkgs): pin nixos-26.05 and add an unstable overlay #17

Merged
rutger.putter merged 3 commits from bram.buijs/DAWO-NixOS:feat/nixpkgs-unstable-overlay into main 2026-06-22 08:42:33 +00:00
Collaborator

Closes #11.

Pin nixpkgs to nixos-26.05 (it tracked nixos-unstable, which drifted between
builds) and add a separate nixpkgs-unstable input exposed through an overlay, so
a single package can be cherry-picked from unstable when a newer version is needed:

environment.systemPackages = [ pkgs.unstable.<name> ];

A reproducible base, with a controlled escape for individual packages instead of
moving the whole channel. Recorded as ADR-0004.

Proof to follow.

Question: keep the existing nixpkgs-stable (25.11) input alongside this, or fold
it out now that the base is a pinned 26.05?

Closes #11. Pin `nixpkgs` to `nixos-26.05` (it tracked `nixos-unstable`, which drifted between builds) and add a separate `nixpkgs-unstable` input exposed through an overlay, so a single package can be cherry-picked from unstable when a newer version is needed: environment.systemPackages = [ pkgs.unstable.<name> ]; A reproducible base, with a controlled escape for individual packages instead of moving the whole channel. Recorded as ADR-0004. Proof to follow. Question: keep the existing `nixpkgs-stable` (25.11) input alongside this, or fold it out now that the base is a pinned 26.05?
Was nixos-unstable with a nixos-25.11 fallback that is nearly end of life. 26.05 is the current stable release; evaluates green across the config.
With nixpkgs pinned to the stable channel, expose nixos-unstable through an
overlay as pkgs.unstable so a single package can be pulled from unstable when a
newer version is needed, without moving the whole base off stable. Mirrors the
existing pkgs.stable overlay.

Ref: #11

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Collaborator

Just remove 25.11, end of support is close or already passed.

Just remove 25.11, end of support is close or already passed.
flake.nix Outdated
@ -2,3 +2,3 @@
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixpkgs.url = "github:nixos/nixpkgs/nixos-26.05";
nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-25.11";
Collaborator

Let's remove 25.11.

Let's remove 25.11.
bram.buijs marked this conversation as resolved
bram.buijs force-pushed feat/nixpkgs-unstable-overlay from 7bbdeffe94 to 7201036b3b 2026-06-18 13:24:42 +00:00 Compare
End of support for 25.11 is near/passed, so the stable overlay it backed is
removed. Cherry-picking newer packages still works via the unstable overlay.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Author
Collaborator

@rutger.putter removed 25.11. Stable on t495s

@rutger.putter removed 25.11. Stable on t495s
rutger.putter left a comment

Approved

Approved
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MinBZK/DAWO-NixOS!17
No description provided.