From 3bc4e5d7d9edb95675ccc7d18dc909636b8418f3 Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Fri, 5 Jun 2026 11:05:57 +0100 Subject: chore(nix): pin home-manager to release-26.05 (match nixpkgs) HM master had rolled to the 26.11 development cycle while the nixos-unstable nixpkgs snapshot we follow is still on 26.05. Activation emitted the 'mismatched versions' warning at every nix-switch. Pin HM to its release-26.05 branch so the two stay in lockstep; bump the branch name when nixpkgs lib.version rolls over. --- nix/flake.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'nix') diff --git a/nix/flake.nix b/nix/flake.nix index 9e26edb..d82d9a4 100644 --- a/nix/flake.nix +++ b/nix/flake.nix @@ -4,7 +4,12 @@ inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; home-manager = { - url = "github:nix-community/home-manager/master"; + # Pin to the release branch matching nixpkgs lib.version (the + # `nixos-unstable` snapshot we follow here reports 26.05). Without + # this, HM master races ahead one cycle and emits the + # "mismatched versions" warning at every activation. Bump the + # branch name in lockstep when nixpkgs lib.version rolls over. + url = "github:nix-community/home-manager/release-26.05"; inputs.nixpkgs.follows = "nixpkgs"; }; # tuicr: TUI git-change reviewer. Upstream flake exposes -- cgit v1.3.1