mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-15 00:07:54 -06:00
27 lines
440 B
Nix
27 lines
440 B
Nix
{ lib, ... }:
|
|
let
|
|
inherit (lib)
|
|
mkOption
|
|
types
|
|
literalExpression
|
|
|
|
mdDoc
|
|
listNixFilesRecursive
|
|
;
|
|
in
|
|
{
|
|
imports = listNixFilesRecursive ./.;
|
|
options.oizys.languages = mkOption {
|
|
type = with types; (listOf str);
|
|
description = mdDoc ''
|
|
List of programming languages to enable.
|
|
'';
|
|
default = [ ];
|
|
example = literalExpression ''
|
|
[
|
|
"python"
|
|
"nim"
|
|
]
|
|
'';
|
|
};
|
|
}
|