oizys/modules/languages/nim.nix
2024-09-13 15:09:45 -05:00

24 lines
318 B
Nix

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