FreeBSD has a project to possibly overhaul kernel config( 8 ) with Lua config. It's interesting, you should learn it.