revert Merge pull request 'Remove clanModules/*' (#4202) from remove-modules into main Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4202 See: https://git.clan.lol/clan/clan-core/issues/4365 Not all modules are migrated. If they are not migrated, we need to write migration docs and please display the link to the migration docs
924 B
924 B
description = "Automatically generate the state version of the nixos installation."
features = [ "inventory", "deprecated" ]
This module generates the system.stateVersion of the nixos installation automatically.
Options: system.stateVersion
Migration:
If you are already setting system.stateVersion, then import the module and then either let the automatic generation happen, or trigger the generation manually for the machine. The module will take the specified version, if one is already supplied through the config.
To manually generate the version for a specified machine run:
clan vars generate [MACHINE]
If the setting was already set you can then remove system.stateVersion from your machine configuration. For new machines, just import the module.