afa0e02d64
Remove the "version" parameter in order to make it more widely available. Starts making some kernel configuration helpers available. The intent is to be able to better build and check the linux kernel configuration.
16 lines
306 B
Nix
16 lines
306 B
Nix
{ lib }:
|
|
|
|
with lib;
|
|
{
|
|
|
|
|
|
# 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; };
|
|
|
|
}
|