oizys/modules/languages/default.nix

19 lines
430 B
Nix
Raw Normal View History

2024-03-19 08:56:51 -05:00
{lib, ...}: let
2024-02-27 10:11:44 -06:00
inherit (lib) mkOption types literalExpression mdDoc;
in {
2024-04-05 12:18:44 -05:00
imports = [./nim.nix ./tex.nix ./misc.nix ./node.nix ./python.nix ./zig.nix];
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-02-27 10:41:27 -06:00
default = [];
2024-02-27 10:11:44 -06:00
example = literalExpression ''
[
"python"
"nim"
]
'';
};
}