mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-31 23:40:12 +02:00
tokyonight: init colorscheme
This commit is contained in:
parent
79637ae41a
commit
82d2c82e85
2 changed files with 18 additions and 0 deletions
17
plugins/colorschemes/tokyonight.nix
Normal file
17
plugins/colorschemes/tokyonight.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{ pkgs, config, lib, ... }:
|
||||
with lib;
|
||||
let cfg = config.programs.nixvim.colorschemes.tokyonight;
|
||||
in {
|
||||
options = {
|
||||
programs.nixvim.colorschemes.tokyonight = {
|
||||
enable = mkEnableOption "Enable tokyonight";
|
||||
};
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
programs.nixvim = {
|
||||
colorscheme = "tokyonight";
|
||||
extraPlugins = [ pkgs.vimPlugins.tokyonight-nvim ];
|
||||
options = { termguicolors = true; };
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue