facts: Add deprecation warning

This commit is contained in:
a-kenji
2025-06-04 13:21:09 +02:00
parent ff943ecf41
commit 5b6bd74748

View File

@@ -5,6 +5,10 @@
...
}:
{
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/"
];
options.clan.core.facts = {
secretStore = lib.mkOption {
type = lib.types.enum [