aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/nix/flake.nix
diff options
context:
space:
mode:
authorLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-06-05 11:05:57 +0100
committerLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-06-05 11:05:57 +0100
commit3bc4e5d7d9edb95675ccc7d18dc909636b8418f3 (patch)
treec8a8afb4c8337414b9101256d109afc1ad2b4838 /nix/flake.nix
parent365e67bc811a9be00d192d54513eb7a4547d6ea9 (diff)
downloaddotfiles-3bc4e5d7d9edb95675ccc7d18dc909636b8418f3.tar.gz
dotfiles-3bc4e5d7d9edb95675ccc7d18dc909636b8418f3.tar.bz2
dotfiles-3bc4e5d7d9edb95675ccc7d18dc909636b8418f3.zip
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.
Diffstat (limited to 'nix/flake.nix')
-rw-r--r--nix/flake.nix7
1 files changed, 6 insertions, 1 deletions
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