modules/version: remove default stateVersion value

The state version is a sensible value that should explicitly set in the
users config.

Following home-manager: https://github.com/nix-community/home-manager/pull/3043.
This commit is contained in:
Tobias Happ 2022-12-01 22:08:54 +01:00 committed by Alexander Sosedkin
parent 9ba1feced2
commit 7e8f1ad6e2
3 changed files with 5 additions and 1 deletions

View file

@ -35,6 +35,8 @@ let
pkgs = pkgs.lib.mkForce pkgs; # to override ./modules/nixpkgs/config.nix
};
system.stateVersion = "22.05";
# Fix invoking bash after initial build.
user.shell = "${initialPackageInfo.bash}/bin/bash";