core/lib/tests/modules/declare-either.nix
2024-06-30 09:16:52 +01:00

5 lines
107 B
Nix

{ lib, ... }:
{
options.value = lib.mkOption { type = lib.types.either lib.types.int lib.types.str; };
}