oizys/modules/languages/default.nix
2024-06-26 10:58:16 -05:00

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"
]
'';
};
}