2018-10-03 11:49:50 +02:00
|
|
|
{ lib }:
|
2016-01-05 15:22:43 +01:00
|
|
|
|
|
|
|
with lib;
|
|
|
|
rec {
|
|
|
|
|
|
|
|
|
2018-10-03 11:49:50 +02:00
|
|
|
# Keeping these around in case we decide to change this horrible implementation :)
|
|
|
|
option = x:
|
|
|
|
x // { optional = true; };
|
2016-01-05 15:22:43 +01:00
|
|
|
|
2018-10-03 11:49:50 +02:00
|
|
|
yes = { tristate = "y"; };
|
|
|
|
no = { tristate = "n"; };
|
|
|
|
module = { tristate = "m"; };
|
|
|
|
freeform = x: { freeform = x; };
|
2016-01-05 15:22:43 +01:00
|
|
|
|
|
|
|
}
|