facts: add bigger migration warnings

This commit is contained in:
Johannes Kirschbauer
2025-10-13 09:44:58 +02:00
parent 7b95fa039f
commit 3c4b3e180e
2 changed files with 30 additions and 8 deletions

View File

@@ -6,7 +6,17 @@
}:
{
config.warnings = lib.optionals (config.clan.core.facts.services != { }) [
"Facts are deprecated, please migrate them to vars instead, see: https://docs.clan.lol/guides/migrations/migration-facts-vars/"
''
###############################################################################
# #
# Facts are deprecated please migrate any usages to vars instead #
# #
# #
# Refer to https://docs.clan.lol/guides/migrations/migration-facts-vars/ #
# for migration instructions. #
# #
###############################################################################
''
];
options.clan.core.facts = {