nixpkgs/nixos/modules
Eelco Dolstra d166c854b6 Add option system.stateVersion
This option requests compatibility with older NixOS releases with
respect to stateful data, in cases where new releases have defaults
that might be incompatible with system state of existing NixOS
deployments. For instance, if we change the default version of
PostgreSQL, existing deployments will break if the new version can't
read databases created by the old version.

So for example, setting

  system.stateVersion = "15.07";

requests that options like services.postgresql.package use defaults
corresponding to the 15.07 release branch. Note that
nixos-generate-config emits this option. (In the future, NixOps may
set system.stateVersion to the NixOS release in use when the machine
was created.)

See also #7939 for another motivating example.
2015-07-27 20:30:09 +02:00
..
config Merge branch 'master.upstream' into staging.upstream 2015-07-05 13:06:02 -07:00
hardware
installer Add option system.stateVersion 2015-07-27 20:30:09 +02:00
misc Add option system.stateVersion 2015-07-27 20:30:09 +02:00
profiles
programs
security Merge branch 'master.upstream' into staging.upstream 2015-07-05 13:06:02 -07:00
services Require signed binary caches by default 2015-07-27 20:30:09 +02:00
system Fix grub-reboot 2015-07-27 01:07:38 +02:00
tasks Don't include wireless tools in containers 2015-07-22 12:51:21 +02:00
testing
virtualisation Use ConditionVirtualization to disable some services in containers 2015-07-22 12:23:40 +02:00
module-list.nix Merge pull request #8799 from ryantm/master 2015-07-24 10:11:26 +02:00
rename.nix Merge pull request #6702 from joachifm/dnscrypt-proxy 2015-07-12 00:17:46 -07:00