2024-05-06 14:32:00 -05:00
|
|
|
{ lib, ... }:
|
|
|
|
let
|
|
|
|
inherit (lib)
|
|
|
|
mkOption
|
|
|
|
types
|
|
|
|
literalExpression
|
2024-06-26 10:19:26 -05:00
|
|
|
|
2024-05-06 14:32:00 -05:00
|
|
|
mdDoc
|
2024-06-26 10:19:26 -05:00
|
|
|
listNixFilesRecursive
|
2024-05-06 14:32:00 -05:00
|
|
|
;
|
|
|
|
in
|
|
|
|
{
|
2024-06-25 16:03:50 -05:00
|
|
|
imports = listNixFilesRecursive ./.;
|
2024-02-27 10:11:44 -06:00
|
|
|
options.oizys.languages = mkOption {
|
2024-02-27 10:41:27 -06:00
|
|
|
type = with types; (listOf str);
|
2024-04-05 12:18:44 -05:00
|
|
|
description = mdDoc ''
|
2024-02-27 10:11:44 -06:00
|
|
|
List of programming languages to enable.
|
|
|
|
'';
|
2024-05-06 14:32:00 -05:00
|
|
|
default = [ ];
|
2024-02-27 10:11:44 -06:00
|
|
|
example = literalExpression ''
|
|
|
|
[
|
|
|
|
"python"
|
|
|
|
"nim"
|
|
|
|
]
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|