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

@ -12,7 +12,6 @@ with lib;
system.stateVersion = mkOption {
type = types.enum [ "19.09" "20.03" "20.09" "21.05" "21.11" "22.05" ];
default = "19.09";
description = ''
It is occasionally necessary for Nix-on-Droid to change
configuration defaults in a way that is incompatible with