chore: deprecate usage of inventory.modules in favor of clan.modules

This commit is contained in:
Johannes Kirschbauer
2025-04-14 18:41:14 +02:00
parent dd3bb314fd
commit 1e379f6fa7
3 changed files with 50 additions and 0 deletions

21
module.nix Normal file
View File

@@ -0,0 +1,21 @@
{ lib, ... }:
{
_class = "clan.service";
manifest.name = "test";
roles.peer.interface =
{ ... }:
{
options.debug = lib.mkOption { default = 1; };
};
roles.peer.perInstance =
{ settings, ... }:
{
nixosModule = {
options.debug = lib.mkOption {
default = settings;
};
};
};
}