1 2 3 4 5 6 7
{ lib, ... }: { options.nest.foo = lib.mkOption { type = lib.types.bool; default = false; }; config.nest.bar = "bar"; }