2021-11-03 19:19:41 +01:00
|
|
|
{ lib, ... }:
|
|
|
|
let
|
|
|
|
deathtrapArgs = lib.mapAttrs
|
|
|
|
(k: _: throw "The module system is too strict, accessing an unused option's ${k} mkOption-attribute.")
|
|
|
|
(lib.functionArgs lib.mkOption);
|
|
|
|
in
|
|
|
|
{
|
2019-10-12 20:37:21 +02:00
|
|
|
options.value = lib.mkOption {
|
|
|
|
type = lib.types.attrsOf lib.types.str;
|
|
|
|
default = {};
|
|
|
|
};
|
2021-11-03 19:19:41 +01:00
|
|
|
options.testing-laziness-so-don't-read-me = lib.mkOption deathtrapArgs;
|
2019-10-12 20:37:21 +02:00
|
|
|
}
|