Neovim, Neovide, NixVim, nvf, and Vim
Homepages: Neovide, Neovim, NixVim, Vim, and nvf
Maintainers: Adam M. Szalkowski, Shahar "Dawn" Or, and Noah Pierre Biewesch (@butzist @mightyiam @trueNAHO)
Neovim
This target themes Neovim using the standard Home Manager options.
NixVim
This target themes Neovim using the options provided by NixVim.
important
This target will have no effect unless the desired Nixvim module is properly installed and imported into your configuration.
Ensure you are configuring this target on the same platform (NixOS, Home Manager, Darwin) as where you installed Nixvim.
Standalone Mode
When using a NixOS or home-manager installation of NixVim, you can use Stylix as normal. However, when using Nixvim's "standalone" configuration mode, you will need to pass Stylix's generated config to Nixvim yourself.
The generated config can be accessed as config.stylix.targets.nixvim.exportedModule. You
can use this as a module in your standalone Nixvim Configuration or an
extension of it.
For example:
{
inputs,
config,
pkgs,
...
}:
let
inherit (pkgs.stdenv.hostPlatform) system;
nixvim-package = inputs.nixvim-config.packages.${system}.default;
extended-nixvim = nixvim-package.extend config.stylix.targets.nixvim.exportedModule;
in
{
environment.systemPackages = [ extended-nixvim ];
}
nvf
This target themes Neovim using the options provided by nvf.
important
This target will have no effect unless the desired nvf module is properly installed and imported into your configuration.
Ensure you are configuring this target on the same platform (NixOS, Home Manager, Darwin) as where you installed nvf.
Vim
This target themes Vim using the standard Home Manager options.
Home Manager options
stylix.targets.neovide.enable
Whether to enable theming for Neovide.
|
Type |
boolean |
|
Default |
|
|
Example |
|
|
Source |
stylix.targets.neovide.fonts.enable
Whether to enable config.stylix.fonts for Neovide.
|
Type |
boolean |
|
Default |
|
|
Example |
|
|
Source |
stylix.targets.neovide.fonts.override
Attribute sets are recursively merged with config.stylix.fonts,
while all other non-null types override config.stylix.fonts.
|
Type |
anything |
|
Default |
|
|
Source |
stylix.targets.neovide.opacity.enable
Whether to enable config.stylix.opacity for Neovide.
|
Type |
boolean |
|
Default |
|
|
Example |
|
|
Source |
stylix.targets.neovide.opacity.override
Attribute sets are recursively merged with config.stylix.opacity,
while all other non-null types override config.stylix.opacity.
|
Type |
anything |
|
Default |
|
|
Source |
stylix.targets.neovim.colors.enable
Whether to enable config.lib.stylix.colors for Neovim.
|
Type |
boolean |
|
Default |
|
|
Example |
|
|
Source |
stylix.targets.neovim.colors.override
Attribute sets are recursively merged with config.lib.stylix.colors,
while all other non-null types override config.lib.stylix.colors.
|
Type |
anything |
|
Default |
|
|
Source |
stylix.targets.neovim.enable
Whether to enable theming for Neovim.
|
Type |
boolean |
|
Default |
|
|
Example |
|
|
Source |
stylix.targets.neovim.plugin
Plugin used for the colorscheme
|
Type |
one of "base16-nvim", "mini.base16" |
|
Default |
|
|
Source |
stylix.targets.neovim.transparentBackground.main
Whether to enable background transparency for the main Neovim window.
|
Type |
boolean |
|
Default |
|
|
Example |
|
|
Source |
stylix.targets.neovim.transparentBackground.numberLine
Whether to enable background transparency for the NeoVim number/relativenumber column.
|
Type |
boolean |
|
Default |
|
|
Example |
|
|
Source |
stylix.targets.neovim.transparentBackground.signColumn
Whether to enable background transparency for the Neovim sign column.
|
Type |
boolean |
|
Default |
|
|
Example |
|
|
Source |
stylix.targets.nixvim.colors.enable
Whether to enable config.lib.stylix.colors for NixVim.
|
Type |
boolean |
|
Default |
|
|
Example |
|
|
Source |
stylix.targets.nixvim.colors.override
Attribute sets are recursively merged with config.lib.stylix.colors,
while all other non-null types override config.lib.stylix.colors.
|
Type |
anything |
|
Default |
|
|
Source |
stylix.targets.nixvim.enable
Whether to enable theming for NixVim.
|
Type |
boolean |
|
Default |
|
|
Example |
|
|
Source |
stylix.targets.nixvim.exportedModule
Theming configuration which can be merged with your own. See Standalone Mode documentation.
|
Type |
module |
|
Source |
stylix.targets.nixvim.fonts.enable
Whether to enable config.stylix.fonts for NixVim.
|
Type |
boolean |
|
Default |
|
|
Example |
|
|
Source |
stylix.targets.nixvim.fonts.override
Attribute sets are recursively merged with config.stylix.fonts,
while all other non-null types override config.stylix.fonts.
|
Type |
anything |
|
Default |
|
|
Source |
stylix.targets.nixvim.opacity.enable
Whether to enable config.stylix.opacity for NixVim.
|
Type |
boolean |
|
Default |
|
|
Example |
|
|
Source |
stylix.targets.nixvim.opacity.override
Attribute sets are recursively merged with config.stylix.opacity,
while all other non-null types override config.stylix.opacity.
|
Type |
anything |
|
Default |
|
|
Source |
stylix.targets.nixvim.plugin
Plugin used for the colorscheme
|
Type |
one of "base16-nvim", "mini.base16" |
|
Default |
|
|
Source |
stylix.targets.nixvim.transparentBackground.main
Whether to enable background transparency for the main NeoVim window.
|
Type |
boolean |
|
Default |
|
|
Example |
|
|
Source |
stylix.targets.nixvim.transparentBackground.numberLine
Whether to enable background transparency for the NeoVim number/relativenumber column.
|
Type |
boolean |
|
Default |
|
|
Example |
|
|
Source |
stylix.targets.nixvim.transparentBackground.signColumn
Whether to enable background transparency for the NeoVim sign column.
|
Type |
boolean |
|
Default |
|
|
Example |
|
|
Source |
stylix.targets.nvf.enable
Whether to enable theming for nvf.
|
Type |
boolean |
|
Default |
|
|
Example |
|
|
Source |
stylix.targets.nvf.plugin
Plugin used for the colorscheme
|
Type |
one of "base16", "mini-base16" |
|
Default |
|
|
Source |
stylix.targets.nvf.transparentBackground
Whether to enable background transparency for the main Neovim window.
|
Type |
boolean |
|
Default |
|
|
Example |
|
|
Source |
stylix.targets.vim.colors.enable
Whether to enable config.lib.stylix.colors for Vim.
|
Type |
boolean |
|
Default |
|
|
Example |
|
|
Source |
stylix.targets.vim.colors.override
Attribute sets are recursively merged with config.lib.stylix.colors,
while all other non-null types override config.lib.stylix.colors.
|
Type |
anything |
|
Default |
|
|
Source |
stylix.targets.vim.enable
Whether to enable theming for Vim.
|
Type |
boolean |
|
Default |
|
|
Example |
|
|
Source |
stylix.targets.vim.fonts.enable
Whether to enable config.stylix.fonts for Vim.
|
Type |
boolean |
|
Default |
|
|
Example |
|
|
Source |
stylix.targets.vim.fonts.override
Attribute sets are recursively merged with config.stylix.fonts,
while all other non-null types override config.stylix.fonts.
|
Type |
anything |
|
Default |
|
|
Source |
stylix.targets.vim.inputs.enable
Whether to enable config.stylix.inputs for Vim.
|
Type |
boolean |
|
Default |
|
|
Example |
|
|
Source |
stylix.targets.vim.inputs.override
Attribute sets are recursively merged with config.stylix.inputs,
while all other non-null types override config.stylix.inputs.
|
Type |
anything |
|
Default |
|
|
Source |
NixOS options
stylix.targets.nixvim.colors.enable
Whether to enable config.lib.stylix.colors for NixVim.
|
Type |
boolean |
|
Default |
|
|
Example |
|
|
Source |
stylix.targets.nixvim.colors.override
Attribute sets are recursively merged with config.lib.stylix.colors,
while all other non-null types override config.lib.stylix.colors.
|
Type |
anything |
|
Default |
|
|
Source |
stylix.targets.nixvim.enable
Whether to enable theming for NixVim.
|
Type |
boolean |
|
Default |
|
|
Example |
|
|
Source |
stylix.targets.nixvim.exportedModule
Theming configuration which can be merged with your own. See Standalone Mode documentation.
|
Type |
module |
|
Source |
stylix.targets.nixvim.fonts.enable
Whether to enable config.stylix.fonts for NixVim.
|
Type |
boolean |
|
Default |
|
|
Example |
|
|
Source |
stylix.targets.nixvim.fonts.override
Attribute sets are recursively merged with config.stylix.fonts,
while all other non-null types override config.stylix.fonts.
|
Type |
anything |
|
Default |
|
|
Source |
stylix.targets.nixvim.opacity.enable
Whether to enable config.stylix.opacity for NixVim.
|
Type |
boolean |
|
Default |
|
|
Example |
|
|
Source |
stylix.targets.nixvim.opacity.override
Attribute sets are recursively merged with config.stylix.opacity,
while all other non-null types override config.stylix.opacity.
|
Type |
anything |
|
Default |
|
|
Source |
stylix.targets.nixvim.plugin
Plugin used for the colorscheme
|
Type |
one of "base16-nvim", "mini.base16" |
|
Default |
|
|
Source |
stylix.targets.nixvim.transparentBackground.main
Whether to enable background transparency for the main NeoVim window.
|
Type |
boolean |
|
Default |
|
|
Example |
|
|
Source |
stylix.targets.nixvim.transparentBackground.numberLine
Whether to enable background transparency for the NeoVim number/relativenumber column.
|
Type |
boolean |
|
Default |
|
|
Example |
|
|
Source |
stylix.targets.nixvim.transparentBackground.signColumn
Whether to enable background transparency for the NeoVim sign column.
|
Type |
boolean |
|
Default |
|
|
Example |
|
|
Source |
stylix.targets.nvf.enable
Whether to enable theming for nvf.
|
Type |
boolean |
|
Default |
|
|
Example |
|
|
Source |
stylix.targets.nvf.plugin
Plugin used for the colorscheme
|
Type |
one of "base16", "mini-base16" |
|
Default |
|
|
Source |
stylix.targets.nvf.transparentBackground
Whether to enable background transparency for the main Neovim window.
|
Type |
boolean |
|
Default |
|
|
Example |
|
|
Source |