oizys/modules/languages/nim.nix

21 lines
278 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
nimlangserver
(flake.pkgs "self").nimble
];
};
}