1{ config, lib, ... }:
2
3{
4 options = {
5 loaOfInt = lib.mkOption {
6 type = lib.types.loaOf lib.types.int;
7 };
8
9 result = lib.mkOption {
10 type = lib.types.str;
11 };
12 };
13
14 config = {
15 loaOfInt = [ 1 2 3 4 5 6 7 8 9 10 ];
16
17 result = toString (lib.attrValues config.loaOfInt);
18 };
19}