nixpkgs/nixos
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
..
doc/manual Require signed binary caches by default 2015-07-27 20:30:09 +02:00
lib all tests: added meta.maintainers section 2015-07-12 12:29:51 +02:00
maintainers Initial attempt at configuring from EC2 userdata (with input from cstrahan). Now with VM tests! 2015-06-11 23:16:35 -04:00
modules Add option system.stateVersion 2015-07-27 20:30:09 +02:00
tests cups: Fix test by using different groff output 2015-07-27 20:15:34 +02:00
COPYING Move all of NixOS to nixos/ in preparation of the repository merge 2013-10-10 13:28:20 +02:00
default.nix Fix nixos-option 2013-10-28 22:45:58 +01:00
README Move all of NixOS to nixos/ in preparation of the repository merge 2013-10-10 13:28:20 +02:00
release-combined.nix Revert "Revert "Drop tests.installer.grub1 as release critical"" 2015-07-22 15:20:40 +02:00
release-small.nix Make OpenJDK release-critical 2015-07-14 16:03:29 +02:00
release.nix Disable system_tarball_pc and fix eval 2015-07-22 12:27:15 +02:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
http://nixos.org/nixos and in the manual in doc/manual.