oizys/modules/languages/nim.nix
2024-12-13 09:44:19 -06:00

22 lines
274 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
nph
(flake.pkgs "self").nimble
];
};
}