core/lib/tests/modules/declare-set.nix

15 lines
211 B
Nix
Raw Normal View History

2024-05-01 22:14:04 +00:00
{ lib, ... }:
{
options.set = lib.mkOption {
default = { };
2024-06-30 08:16:52 +00:00
example = {
a = 1;
};
2024-05-01 22:14:04 +00:00
type = lib.types.attrsOf lib.types.int;
description = ''
Some descriptive text
'';
};
}