mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
24 lines
350 B
Nix
24 lines
350 B
Nix
{
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
let
|
|
# Godot is only available on Linux
|
|
enable = lib.meta.availableOn pkgs.stdenv.hostPlatform pkgs.godot_4;
|
|
in
|
|
lib.optionalAttrs enable {
|
|
empty = {
|
|
plugins.godot.enable = true;
|
|
};
|
|
|
|
defaults = {
|
|
plugins.godot = {
|
|
enable = true;
|
|
|
|
settings = {
|
|
executable = "godot";
|
|
};
|
|
};
|
|
};
|
|
}
|