So I’m a newbie when it comes to Nix. I got inspired to try it (with nix-darwin) from this discussion.
I was able to get it working and it was great. I haven’t updated things in months and now when I go to update and rebuild my system I’m getting
In my home.nix, I have
# You can update Home Manager without changing this value. See
# the Home Manager release notes for a list of state version
# changes in each release.
stateVersion = "21.11";
The error is from nix-darwin. Home Manager is a separate project with its own module system that happens to integrate with nix-darwin; it has its own stateVersion setting.