mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-28 06:40:44 -06:00
32 lines
482 B
Nix
32 lines
482 B
Nix
{ lib, ... }:
|
|
let
|
|
inherit (lib)
|
|
mkOption
|
|
types
|
|
literalExpression
|
|
mdDoc
|
|
;
|
|
in
|
|
{
|
|
imports = [
|
|
./nim.nix
|
|
./tex.nix
|
|
./misc.nix
|
|
./node.nix
|
|
./python.nix
|
|
./zig.nix
|
|
];
|
|
options.oizys.languages = mkOption {
|
|
type = with types; (listOf str);
|
|
description = mdDoc ''
|
|
List of programming languages to enable.
|
|
'';
|
|
default = [ ];
|
|
example = literalExpression ''
|
|
[
|
|
"python"
|
|
"nim"
|
|
]
|
|
'';
|
|
};
|
|
}
|