mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-05 06:03:15 -06:00
24 lines
489 B
Nix
24 lines
489 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: let
|
|
inherit (lib) mkOption types literalExpression mdDoc;
|
|
cfg = config.oizys.languages;
|
|
in {
|
|
imports = [./nim.nix ./tex.nix ./misc.nix ./node.nix ./python.nix];
|
|
options.oizys.languages = mkOption {
|
|
type = with types; nullOr (listOf str);
|
|
description = lib.mdDoc ''
|
|
List of programming languages to enable.
|
|
'';
|
|
default = null;
|
|
example = literalExpression ''
|
|
[
|
|
"python"
|
|
"nim"
|
|
]
|
|
'';
|
|
};
|
|
}
|