depot/cluster/services/incandescence/options.nix

23 lines
397 B
Nix
Raw Permalink Normal View History

2024-08-05 00:39:00 +03:00
{ lib, ... }:
let
inherit (lib) mkOption;
inherit (lib.types) attrsOf listOf submodule str;
in
{
options.incandescence = {
providers = mkOption {
type = attrsOf (submodule ({ name, ... }: {
options = {
objects = mkOption {
type = attrsOf (listOf str);
default = { };
};
};
}));
default = { };
};
};
}