Merge pull request 'facts: Add deprecation warning' (#3851) from kenji/clan-core:ke-deprecation-warning-facts into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3851
This commit is contained in:
@@ -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 [
|
||||||
|
|||||||
Reference in New Issue
Block a user