mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-11-14 05:55:59 +01:00
21 lines
367 B
Nix
21 lines
367 B
Nix
|
{
|
||
|
pkgs,
|
||
|
config,
|
||
|
lib,
|
||
|
...
|
||
|
}:
|
||
|
with lib;
|
||
|
with builtins; let
|
||
|
cfg = config.vim.assistant.copilot;
|
||
|
in {
|
||
|
options.vim.assistant.copilot = {
|
||
|
enable = mkEnableOption "Enable GitHub Copilot";
|
||
|
|
||
|
copilot_node_command = mkOption {
|
||
|
type = types.str;
|
||
|
default = "${lib.getExe pkgs.nodejs-slim-16_x}";
|
||
|
description = "Path to nodejs";
|
||
|
};
|
||
|
};
|
||
|
}
|