clan/module: remove deprecated clanInternals.inventory

This commit is contained in:
Johannes Kirschbauer
2025-09-18 17:06:12 +02:00
committed by Mic92
parent 92ca540a42
commit ac07265ea4
3 changed files with 1 additions and 11 deletions

View File

@@ -338,12 +338,6 @@ in
};
};
# TODO: remove all dependents in python, delete this option
inventory = lib.mkOption {
type = lib.types.raw;
apply = lib.warn "The 'clanInternals.inventory' option is deprecated, use 'clanInternals.inventoryClass' instead.";
};
secrets = lib.mkOption { type = lib.types.raw; };
templates = lib.mkOption { type = lib.types.raw; };

View File

@@ -255,10 +255,6 @@ in
];
};
# TODO: remove this after a month or so
# This is here for backwards compatibility for older CLI versions
inventory = config.inventory;
# TODO: unify this interface
# We should have only clan.modules. (consistent with clan.templates)

View File

@@ -75,7 +75,7 @@ in
in
{
inherit eval;
expr = eval.config.clanInternals.inventory.meta;
expr = eval.config.clanInternals.inventoryClass.inventory.meta;
expected = {
description = null;
icon = null;