nixpkgs/lib/kernel.nix

17 lines
306 B
Nix
Raw Normal View History

{ lib }:
with lib;
2019-08-13 21:52:01 +00:00
{
# Keeping these around in case we decide to change this horrible implementation :)
option = x:
x // { optional = true; };
yes = { tristate = "y"; };
no = { tristate = "n"; };
module = { tristate = "m"; };
freeform = x: { freeform = x; };
}