mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-15 19:54:32 +02:00
19 lines
368 B
Nix
19 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 ];
|
||
|
};
|
||
|
};
|
||
|
}
|