clanModules/state-version: init state-version

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.
This commit is contained in:
a-kenji
2024-09-11 12:14:52 +02:00
parent 7c7a8f40e4
commit 66c0517dfe
6 changed files with 62 additions and 11 deletions

View File

@@ -21,6 +21,7 @@
postgresql = ./postgresql;
root-password = ./root-password;
single-disk = ./single-disk;
state-version = ./state-version;
sshd = ./sshd;
static-hosts = ./static-hosts;
sunshine = ./sunshine;