FAQ/When do I update stateVersion: Difference between revisions
imported>Samueldr m whitespace cleanup |
imported>Samueldr Adds sub-section about updating it anyway. |
||
Line 14: | Line 14: | ||
* <code>stateVersion</code> has nothing to do with the current version of the system<ref>https://logs.nix.samueldr.com/nixos/2018-04-18#1524080358-1524080429;</ref> | * <code>stateVersion</code> has nothing to do with the current version of the system<ref>https://logs.nix.samueldr.com/nixos/2018-04-18#1524080358-1524080429;</ref> | ||
* <em>Do NOT</em> change the <code>stateVersion</code> in the configuration; <nowiki>[it]</nowiki> tells nixos what version your state is; changing it will break the things <nowiki>[it is]</nowiki> meant to fix.<ref>https://logs.nix.samueldr.com/nixos/2017-10-18#1508341107-1508341130;</ref> | * <em>Do NOT</em> change the <code>stateVersion</code> in the configuration; <nowiki>[it]</nowiki> tells nixos what version your state is; changing it will break the things <nowiki>[it is]</nowiki> meant to fix.<ref>https://logs.nix.samueldr.com/nixos/2017-10-18#1508341107-1508341130;</ref> | ||
<strong>When can I update <code>stateVersion</code>?</strong> | |||
When: | |||
# You have read all release notes starting from your <code>stateVersion</code>. | |||
# You have verified all instances of <code>stateVersion</code> in the code in <tt><nowiki><nixpkgs/nixos></nowiki></tt>. | |||
# You have made all manual interventions as required by the changes previously inventoried. | |||
</onlyinclude><noinclude><hr /> | </onlyinclude><noinclude><hr /> | ||
== References == | == References == | ||
</noinclude> | </noinclude> |