Add deprecation warnings to all clanModules

This commit is contained in:
pinpox
2025-06-26 10:23:44 +02:00
parent 67b338918b
commit c7afab9d92
19 changed files with 101 additions and 6 deletions

View File

@@ -3,6 +3,13 @@ let
var = config.clan.core.vars.generators.state-version.files.version or { };
in
{
warnings = [
"The clan.state-version module is deprecated and will be removed on 2025-07-15.
Please migrate to user-maintained configuration or the new equivalent clan services
(https://docs.clan.lol/reference/clanServices)."
];
system.stateVersion = lib.mkDefault (lib.removeSuffix "\n" var.value);
clan.core.vars.generators.state-version = {