mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-23 02:40:45 -06:00
20 lines
295 B
Nix
20 lines
295 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: let
|
|
inherit (lib) mkEnableOption mkIf;
|
|
cfg = config.languages;
|
|
in {
|
|
options.languages.nim = mkEnableOption "nim";
|
|
config = mkIf cfg.nim {
|
|
environment.systemPackages = with pkgs; [
|
|
nim
|
|
|
|
nim-atlas
|
|
nimble
|
|
nimlsp
|
|
];
|
|
};
|
|
}
|