Nixpkgs 24.11 and home manager 24.04

I just installed nixpkgs and home-manager on a new Fedora 40 KDE build and am getting the following error.

  Home Manager version 24.05 and
  Nixpkgs version 24.11.

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 seen various topics about matching the version, but I do not currently see a release tagged for home-manager on 24.11 and in fact the release of nix 24.11 seems to be scheduled for late in November. I have removed both nixpkgs and home-manager and gone back over the install process but ended up in the same position.

So how do I resolve this currently? I have had an issue with my kitty config (which works fine on a secondary machine running NixOS) simply not building on the new setup out of home-manager so I figured the first step is to get this warning to stop then address the issue with Kitty if it continues.

1 Like

When it says 24.11, it means the unstable branch. Your home-manager is currently pointing to the stable channel. Replace it with this in your flake.nix:
home-manager.url = "github:rycee/home-manager/master";

and then things should work properly.

I installed via channels so I assume id use the unstable channel and get the same result.