oizys/modules/languages/roc.nix
2024-06-17 09:49:31 -05:00

19 lines
283 B
Nix

{
config,
lib,
pkgs,
inputs,
...
}:
let
inherit (lib) mkIfIn;
cfg = config.oizys.languages;
rocPkgs = inputs.roc.packages.${pkgs.system};
in
{
config = mkIfIn "roc" cfg {
environment.systemPackages = with rocPkgs; [
full # cli + lang_server
];
};
}