nix-community.nixvim/tests/test-sources/plugins/by-name/godot/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
350 B
Nix
Raw Normal View History

2024-04-22 10:05:55 +02:00
{
lib,
pkgs,
...
}:
let
2025-04-24 09:29:39 +02:00
# 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;
2024-04-22 10:05:55 +02:00
};
defaults = {
plugins.godot = {
enable = true;
2024-04-22 10:05:55 +02:00
settings = {
executable = "godot";
};
};
};
}