home-manager: enable useUserPackages for version >= 20.09

This commit is contained in:
Tobias Happ 2020-11-01 21:51:05 +01:00 committed by Alexander Sosedkin
parent 468b036d1d
commit e6c7adaca0

View file

@ -71,7 +71,9 @@ in
useUserPackages = mkEnableOption '' useUserPackages = mkEnableOption ''
installation of user packages through the installation of user packages through the
<option>environment.packages</option> option. <option>environment.packages</option> option.
''; '' // {
default = versionAtLeast config.system.stateVersion "20.09";
};
}; };
}; };