mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-05 06:03:15 -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
|
|
];
|
|
};
|
|
}
|