summary refs log tree commit diff
path: root/lib/tests/modules/attrsOf-lazy-check.nix
blob: ec5b418b15aa95fbad78f2c1772aeae94a62b0a3 (plain) (blame)
1
2
3
4
5
6
7
{ lib, config, ... }: {
  options.isLazy = lib.mkOption {
    default = ! config.value ? foo;
  };

  config.value.bar = throw "is not lazy";
}