device.mountPoints
Available mount points
type
list of string
example
{
device.mountPoints = [
"/"
"/mnt/backup"
];
}
default
{
device.mountPoints = [
"/"
];
}
device.netDevices
Available net devices
type
list of string
example
{
device.netDevices = [
"eno1"
"wlp2s0"
];
}
default
{
device.netDevices = [
"eth0"
];
}
device.type
Type of device
type
one of "desktop", "notebook"
default
{
device.type = "desktop";
}
meta.configPath
Location of this config
type
path
default
{
meta.configPath = "/etc/nixos";
}
meta.username
Main username
type
string
default
{
meta.username = "thiagoko";
}
programs.neovim.enable
Whether to enable Neovim.
type
boolean
example
{
programs.neovim.enable = true;
}
default
{
programs.neovim.enable = false;
}
programs.neovim.package
The package to use for the neovim binary.
type
package
default
{
programs.neovim.package = {
_type = "literalExpression";
text = "pkgs.neovim-unwrapped";
};
}
programs.neovim.configure
Generate your init file from your list of plugins and custom commands.
Neovim will then be wrapped to load
type
attribute set
example
{
programs.neovim.configure = {
_type = "literalExpression";
text = ''
{
customRC = ''
" here your custom configuration goes!
'';
packages.myVimPackage = with pkgs.vimPlugins; {
# loaded on launch
start = [ fugitive ];
# manually loadable by calling `:packadd $plugin-name`
opt = [ ];
};
}
'';
};
}
default
{
programs.neovim.configure = {};
}
programs.neovim.defaultEditor
When enabled, installs neovim and configures neovim to be the default editor using the EDITOR environment variable.
type
boolean
default
{
programs.neovim.defaultEditor = false;
}
programs.neovim.runtime
Set of files that have to be linked in
type
attribute set of submodule
example
{
programs.neovim.runtime = {
_type = "literalExpression";
text = ''
{ "ftplugin/c.vim".text = "setlocal omnifunc=v:lua.vim.lsp.omnifunc"; }
'';
};
}
default
{
programs.neovim.runtime = {};
}
programs.neovim.runtime.<name>.enable
Whether this /etc file should be generated. This option allows specific /etc files to be disabled.
type
boolean
default
{
programs.neovim.runtime.<name>.enable = true;
}
programs.neovim.runtime.<name>.source
Path of the source file.
type
path
programs.neovim.runtime.<name>.target
Name of symlink. Defaults to the attribute name.
type
string
programs.neovim.runtime.<name>.text
Text of the file.
type
null or strings concatenated with "\n"
default
{
programs.neovim.runtime.<name>.text = null;
}
programs.neovim.viAlias
Symlink
type
boolean
default
{
programs.neovim.viAlias = false;
}
programs.neovim.vimAlias
Symlink
type
boolean
default
{
programs.neovim.vimAlias = false;
}
programs.neovim.withNodeJs
Enable Node provider.
type
boolean
default
{
programs.neovim.withNodeJs = false;
}
programs.neovim.withPython3
Enable Python 3 provider.
type
boolean
default
{
programs.neovim.withPython3 = true;
}
programs.neovim.withRuby
Enable Ruby provider.
type
boolean
default
{
programs.neovim.withRuby = true;
}
services.xsettingsd.enable
Whether to enable xsettingsd.
type
boolean
example
{
services.xsettingsd.enable = true;
}
default
{
services.xsettingsd.enable = false;
}
services.xsettingsd.package
Package containing the
type
package
default
{
services.xsettingsd.package = {
_type = "literalExpression";
text = "pkgs.xsettingsd";
};
}
services.xsettingsd.settings
Xsettingsd options for configuration file. See
for documentation on these values.type
attribute set of boolean or signed integer or string
example
{
services.xsettingsd.settings = {
_type = "literalExpression";
text = ''
{
"Net/ThemeName" = "Numix";
"Xft/Antialias" = true;
"Xft/Hinting" = true;
"Xft/RGBA" = "rgb";
}
'';
};
}
default
{
services.xsettingsd.settings = {};
}
theme.colors
Base16 colors
type
attribute set of string
theme.fonts.dpi
Font dpi
type
signed integer
default
{
theme.fonts.dpi = 135;
}
theme.fonts.gui
GUI main font
type
null or submodule
theme.fonts.gui.package
Theme package
type
null or package
theme.fonts.gui.name
Theme name
type
string