Home-manager and nixpkgs version mismatch

Hello!

I just did a `nix flake update` and then a `nh os switch –ask .` and I got a warning about a mismatch between home manager and nixpkgs:

evaluation warning: h profile: You are using

                      Home Manager version 26.11 and
                      Nixpkgs version 26.05.

                    Using mismatched versions is likely to cause errors and unexpected
                    behavior. It is therefore highly recommended to use a release of Home
                    Manager that corresponds with your chosen release of Nixpkgs.

                    If you insist then you can disable this warning by adding

                      home.enableNixpkgsReleaseCheck = false;

                    to your configuration.

I have these as my Flake inputs:

  inputs = {
    nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
    home-manager = {
      url = "github:nix-community/home-manager/master";
      inputs.nixpkgs.follows = "nixpkgs";
    };
    impermanence.url = "github:nix-community/impermanence";
    chaotic.url = "github:chaotic-cx/nyx/nyxpkgs-unstable";
    update-systemd-resolved.url = "github:jonathanio/update-systemd-resolved";
    update-systemd-resolved.inputs.nixpkgs.follows = "nixpkgs"; # optional
  };

How can I fix this warning? What changed that caused it?

nixos-unstable is currently stuck. Once it gets unstuck, the warning will go away.

2 Likes

Oh.

Where can I see if/when it is unstuck?

You update, and the error is gone.

Also https://status.nixos.org/

1 Like

Since you’re on the unstable branch for nixpkgs, you can ignore the message. It’s meant to warn people who mix stable HM with unstable nixpkgs, or vice versa.

1 Like

I’m still having the same issue even after updating…
nix flake metadata says nixpkgs is at a commit from 2026-05-23

Please reread my comment. It’s a non-issue and will go away in a few days… unless your inputs are genuinely incorrect.

Bump as of 6/1/2026, 10:05:59 PM GMT+2, so you should be good now :slight_smile:

3 Likes