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

13 lines
201 B
Nix
Raw Permalink Normal View History

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