summary refs log tree commit diff
path: root/lib/tests/modules/types-anything/equal-atoms.nix
blob: 972711201a095f210f84822a5a221f73116d2962 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ lib, ... }: {

  options.value = lib.mkOption {
    type = lib.types.anything;
  };

  config = lib.mkMerge [
    {
      value.int = 0;
      value.bool = false;
      value.string = "";
      value.path = /.;
      value.null = null;
      value.float = 0.1;
    }
    {
      value.int = 0;
      value.bool = false;
      value.string = "";
      value.path = /.;
      value.null = null;
      value.float = 0.1;
    }
  ];

}