mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-10 09:14:31 +02:00
23 lines
414 B
Nix
23 lines
414 B
Nix
|
{ pkgs, config, lib, ... }:
|
||
|
with lib;
|
||
|
let
|
||
|
cfg = config.programs.nixvim.colorschemes.one;
|
||
|
in {
|
||
|
options = {
|
||
|
programs.nixvim.colorschemes.one = {
|
||
|
enable = mkEnableOption "Enable vim-one";
|
||
|
};
|
||
|
};
|
||
|
|
||
|
config = mkIf cfg.enable {
|
||
|
programs.nixvim = {
|
||
|
colorscheme = "one";
|
||
|
extraPlugins = [ pkgs.vimPlugins.vim-one ];
|
||
|
|
||
|
options = {
|
||
|
termguicolors = true;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|