Files
nix-stuff/nixvim/lean.nix
Shelvacu 9bad53f188 nix fmt
2025-04-19 13:17:36 -07:00

24 lines
405 B
Nix

{
lib,
unstable,
inputs,
system,
...
}:
let
lean = inputs.self.packages.${system}.leanLatest;
in
{
imports =
[ ]
++ (lib.optional (!unstable) {
plugins.lean.leanPackage = lean;
plugins.lean.mappings = true;
})
++ (lib.optional unstable {
dependencies.lean.enable = false;
plugins.lean.settings.mappings = true;
});
plugins.lean.enable = true;
}