3 deathtrapArgs = lib.mapAttrs
4 (k: _: throw "The module system is too strict, accessing an unused option's ${k} mkOption-attribute.")
5 (lib.functionArgs lib.mkOption);
8 options.nest.foo = lib.mkOption {
12 options.nest.unused = lib.mkOption deathtrapArgs;
13 config.nest.bar = "bar";