This adds a clanModule that will initialize the `system.stateVersion` upon deploying the machine for the first time. If the machine is completely reinstalled, then the state version might be regenerated. But care should be taken if rebuilding from backups.
8 lines
353 B
Markdown
8 lines
353 B
Markdown
---
|
|
description = "Automatically generate the state version of the nixos installation."
|
|
---
|
|
|
|
This module generates the `system.stateVersion` of the nixos installation automatically.
|
|
|
|
Options: [system.stateVersion](https://search.nixos.org/options?channel=unstable&show=system.stateVersion&from=0&size=50&sort=relevance&type=packages&query=stateVersion)
|