oizys/modules/languages/nim.nix
2024-11-20 17:48:15 -06:00

22 lines
294 B
Nix

{
config,
lib,
pkgs,
flake,
...
}:
let
inherit (lib) mkIfIn;
cfg = config.oizys.languages;
in
{
config = mkIfIn "nim" cfg {
environment.systemPackages = with pkgs; [
nim
nimlangserver
(flake.pkgs "self").nimble
(flake.pkgs "self").nph
];
};
}