You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
374 B
13 lines
374 B
{ 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
|
|
{
|
|
options.value = lib.mkOption {
|
|
type = lib.types.attrsOf lib.types.str;
|
|
default = {};
|
|
};
|
|
options.testing-laziness-so-don't-read-me = lib.mkOption deathtrapArgs;
|
|
}
|
|
|