mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-24 18:19:01 +00:00
nixvim/plugins/nvim-remote-containers: init
This commit is contained in:
parent
5ffcfc2070
commit
2ccd79d6b4
@ -6,5 +6,6 @@
|
|||||||
./plugins/lush-nvim.nix
|
./plugins/lush-nvim.nix
|
||||||
./plugins/legendary-nvim.nix
|
./plugins/legendary-nvim.nix
|
||||||
./plugins/nvim-config-local.nix
|
./plugins/nvim-config-local.nix
|
||||||
|
./plugins/nvim-remote-containers.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
17
modules/nixvim/plugins/nvim-remote-containers.nix
Normal file
17
modules/nixvim/plugins/nvim-remote-containers.nix
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
{ config, lib, pkgs, helpers,... }:
|
||||||
|
|
||||||
|
let
|
||||||
|
cfg = config.plugins.nvim-remote-containers;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.plugins.nvim-remote-containers = {
|
||||||
|
enable = lib.mkEnableOption "nvim-remote-containers";
|
||||||
|
|
||||||
|
package = helpers.mkPluginPackageOption "nvim-remote-containers" pkgs.vimPlugins.nvim-remote-containers;
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
plugins.treesitter.enable = lib.mkDefault true;
|
||||||
|
extraPlugins = [ cfg.package ];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user