facts: Add deprecation warning

This commit is contained in:
a-kenji
2025-06-04 13:21:09 +02:00
parent 951cf4ec3d
commit dd330f10c1

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 = { options.clan.core.facts = {
secretStore = lib.mkOption { secretStore = lib.mkOption {
type = lib.types.enum [ type = lib.types.enum [