mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
18 lines
368 B
Nix
18 lines
368 B
Nix
{ pkgs, config, lib, ... }:
|
|
with lib;
|
|
let
|
|
cfg = config.programs.nixvim.colorschemes.gruvbox;
|
|
in {
|
|
options = {
|
|
programs.nixvim.colorschemes.gruvbox = {
|
|
enable = mkEnableOption "Enable gruvbox";
|
|
};
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
programs.nixvim = {
|
|
colorscheme = "gruvbox";
|
|
extraPlugins = [ pkgs.vimPlugins.gruvbox ];
|
|
};
|
|
};
|
|
}
|