aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/nix/flake.nix
diff options
context:
space:
mode:
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