Home Manager options
The following options can only be set in a Home Manager configuration.
If you combined Home Manager with your NixOS configuration, write these options within a Home Manager section, either for all users:
home-manager.sharedModules = [{
stylix.targets.xyz.enable = false;
}];
Or for a specific user:
home-manager.users.«name» = {
stylix.targets.xyz.enable = false;
};
Read more about per-user themes.
stylix.autoEnable
Whether to automatically enable styling for installed targets.
Type: boolean
Default:
true
stylix.base16Scheme
A scheme following the base16 standard.
This can be a path to a file, a string of YAML, or an attribute set.
Type: path or strings concatenated with “\n” or (attribute set)
Default: The colors used in the theming.
Those are automatically selected from the background image by default, but could be overridden manually.
stylix.cursor.package
Package providing the cursor theme.
Type: package
Default:
<derivation vanilla-dmz-0.4.5>
stylix.cursor.name
The cursor name within the package.
Type: string
Default:
"Vanilla-DMZ"
stylix.cursor.size
The cursor size.
Type: signed integer
Default:
32
stylix.fonts.packages
A list of all the font packages that will be installed.
Type: list of package (read only)
stylix.fonts.emoji
Emoji font.
Type: submodule
Default:
{
name = "Noto Color Emoji";
package = <derivation noto-fonts-color-emoji-2.042>;
}
stylix.fonts.emoji.package
Package providing the font.
Type: package
stylix.fonts.emoji.name
Name of the font within the package.
Type: string
stylix.fonts.monospace
Monospace font.
Type: submodule
Default:
{
name = "DejaVu Sans Mono";
package = <derivation dejavu-fonts-2.37>;
}
stylix.fonts.monospace.package
Package providing the font.
Type: package
stylix.fonts.monospace.name
Name of the font within the package.
Type: string
stylix.fonts.sansSerif
Sans-serif font.
Type: submodule
Default:
{
name = "DejaVu Sans";
package = <derivation dejavu-fonts-2.37>;
}
stylix.fonts.sansSerif.package
Package providing the font.
Type: package
stylix.fonts.sansSerif.name
Name of the font within the package.
Type: string
stylix.fonts.serif
Serif font.
Type: submodule
Default:
{
name = "DejaVu Serif";
package = <derivation dejavu-fonts-2.37>;
}
stylix.fonts.serif.package
Package providing the font.
Type: package
stylix.fonts.serif.name
Name of the font within the package.
Type: string
stylix.fonts.sizes.applications
The font size used by applications.
Type: unsigned integer, meaning >=0
Default:
12
stylix.fonts.sizes.desktop
The font size used in window titles/bars/widgets elements of the desktop.
Type: unsigned integer, meaning >=0
Default:
10
stylix.fonts.sizes.popups
The font size for notifications/popups and in general overlay elements of the desktop.
Type: unsigned integer, meaning >=0
Default:
10
stylix.fonts.sizes.terminal
The font size for terminals/text editors.
Type: unsigned integer, meaning >=0
Default:
12
stylix.image
Wallpaper image.
This is set as the background of your desktop environment, if possible, and used to generate a colour scheme if you don’t set one manually.
Type: path or package convertible to it
Default:
null
stylix.opacity.applications
The opacity of the windows of applications, the amount of applications supported is currently limited
Type: floating point number
Default:
1.0
stylix.opacity.desktop
The opacity of the windows of bars/widgets, the amount of applications supported is currently limited
Type: floating point number
Default:
1.0
stylix.opacity.popups
The opacity of the windows of notifications/popups, the amount of applications supported is currently limited
Type: floating point number
Default:
1.0
stylix.opacity.terminal
The opacity of the windows of terminals, this works across all terminals supported by stylix
Type: floating point number
Default:
1.0
stylix.override
An override that will be applied to stylix.base16Scheme when generating lib.stylix.colors.
Takes anything that a scheme generated by base16nix can take as argument to override.
Type: attribute set
Default:
{ }
stylix.polarity
Use this option to force a light or dark theme.
By default we will select whichever is ranked better by the genetic algorithm. This aims to get good contrast between the foreground and background, as well as some variety in the highlight colours.
Type: one of “either”, “light”, “dark”
Default:
"either"
stylix.targets.alacritty.enable
Whether to style Alacritty.
Type: boolean
Default:
true
if stylix.autoEnable == true
and the target is installed,
otherwise false
.
stylix.targets.avizo.enable
Whether to style Avizo.
Type: boolean
Default:
true
if stylix.autoEnable == true
and the target is installed,
otherwise false
.
stylix.targets.bat.enable
Whether to style Bat.
Type: boolean
Default:
true
if stylix.autoEnable == true
and the target is installed,
otherwise false
.
stylix.targets.bemenu.enable
Whether to style bemenu.
Type: boolean
Default:
true
if stylix.autoEnable == true
and the target is installed,
otherwise false
.
stylix.targets.bemenu.alternate
Whether to use alternating colours.
Type: boolean
Default:
false
stylix.targets.bemenu.fontSize
Font size used for bemenu.
Type: null or signed integer
Default:
10
stylix.targets.bspwm.enable
Whether to style bspwm.
Type: boolean
Default:
true
if stylix.autoEnable == true
and the target is installed,
otherwise false
.
stylix.targets.btop.enable
Whether to style btop.
Type: boolean
Default:
true
if stylix.autoEnable == true
and the target is installed,
otherwise false
.
stylix.targets.dunst.enable
Whether to style Dunst.
Type: boolean
Default:
true
if stylix.autoEnable == true
and the target is installed,
otherwise false
.
stylix.targets.emacs.enable
Whether to style Emacs.
Type: boolean
Default:
true
if stylix.autoEnable == true
and the target is installed,
otherwise false
.
stylix.targets.feh.enable
Whether to style the desktop background using Feh.
Type: boolean
Default:
true
if stylix.autoEnable == true
and the target is installed,
otherwise false
.
stylix.targets.firefox.enable
Whether to style Firefox.
Type: boolean
Default:
true
if stylix.autoEnable == true
and the target is installed,
otherwise false
.
stylix.targets.firefox.profileNames
The Firefox profile names to apply styling on.
Type: list of string
Default:
[ ]
stylix.targets.fish.enable
Whether to style Fish.
Type: boolean
Default:
true
if stylix.autoEnable == true
and the target is installed,
otherwise false
.
stylix.targets.foot.enable
Whether to style Foot.
Type: boolean
Default:
true
if stylix.autoEnable == true
and the target is installed,
otherwise false
.
stylix.targets.fuzzel.enable
Whether to style Fuzzel.
Type: boolean
Default:
true
if stylix.autoEnable == true
and the target is installed,
otherwise false
.
stylix.targets.fzf.enable
Whether to style Fzf.
Type: boolean
Default:
true
if stylix.autoEnable == true
and the target is installed,
otherwise false
.
stylix.targets.gedit.enable
Whether to style GEdit.
Type: boolean
Default:
true
if stylix.autoEnable == true
and the target is installed,
otherwise false
.
stylix.targets.gnome.enable
Whether to style GNOME.
Type: boolean
Default:
true
if stylix.autoEnable == true
and the target is installed,
otherwise false
.
stylix.targets.gtk.enable
Whether to style all GTK3, GTK4 and Libadwaita apps.
Type: boolean
Default:
true
if stylix.autoEnable == true
and the target is installed,
otherwise false
.
stylix.targets.gtk.extraCss
Extra code added to gtk-3.0/gtk.css
and gtk-4.0/gtk.css
.
Type: strings concatenated with “\n”
Default:
""
Example:
''
// Remove rounded corners
window.background { border-radius: 0; }
''
stylix.targets.helix.enable
Whether to style Helix.
Type: boolean
Default:
true
if stylix.autoEnable == true
and the target is installed,
otherwise false
.
stylix.targets.hyprland.enable
Whether to style Hyprland.
Type: boolean
Default:
true
if stylix.autoEnable == true
and the target is installed,
otherwise false
.
stylix.targets.i3.enable
Whether to style i3.
Type: boolean
Default:
true
if stylix.autoEnable == true
and the target is installed,
otherwise false
.
stylix.targets.k9s.enable
Whether to style k9s.
Type: boolean
Default:
true
if stylix.autoEnable == true
and the target is installed,
otherwise false
.
stylix.targets.kde.enable
Whether to style KDE.
Type: boolean
Default:
true
if stylix.autoEnable == true
and the target is installed,
otherwise false
.
stylix.targets.kitty.enable
Whether to style Kitty.
Type: boolean
Default:
true
if stylix.autoEnable == true
and the target is installed,
otherwise false
.
stylix.targets.kitty.variant256Colors
Whether to use the 256-color variant rather than the default combination of colors.
Type: boolean
Default:
false
stylix.targets.lazygit.enable
Whether to style lazygit.
Type: boolean
Default:
true
if stylix.autoEnable == true
and the target is installed,
otherwise false
.
stylix.targets.mako.enable
Whether to style Mako.
Type: boolean
Default:
true
if stylix.autoEnable == true
and the target is installed,
otherwise false
.
stylix.targets.mangohud.enable
Whether to style mangohud.
Type: boolean
Default:
true
if stylix.autoEnable == true
and the target is installed,
otherwise false
.
stylix.targets.nixvim.enable
Whether to style nixvim.
Type: boolean
Default:
true
if stylix.autoEnable == true
and the target is installed,
otherwise false
.
stylix.targets.nixvim.transparent_bg.main
Whether to enable background transparency for the main NeoVim window.
Type: boolean
Default:
false
Example:
true
stylix.targets.nixvim.transparent_bg.sign_column
Whether to enable background transparency for the NeoVim sign column.
Type: boolean
Default:
false
Example:
true
stylix.targets.nushell.enable
Whether to style Nushell.
Type: boolean
Default:
true
if stylix.autoEnable == true
and the target is installed,
otherwise false
.
stylix.targets.qutebrowser.enable
Whether to style Qutebrowser.
Type: boolean
Default:
true
if stylix.autoEnable == true
and the target is installed,
otherwise false
.
stylix.targets.rofi.enable
Whether to style Rofi.
Type: boolean
Default:
true
if stylix.autoEnable == true
and the target is installed,
otherwise false
.
stylix.targets.sway.enable
Whether to style Sway.
Type: boolean
Default:
true
if stylix.autoEnable == true
and the target is installed,
otherwise false
.
stylix.targets.swaylock.enable
Whether to style Swaylock.
Type: boolean
Default:
true
if stylix.autoEnable == true
and the target is installed,
otherwise false
.
stylix.targets.swaylock.useImage
Whether to use your wallpaper image for the Swaylock background. If this is disabled, a plain color will be used instead.
Type: boolean
Default:
true
stylix.targets.sxiv.enable
Whether to style Sxiv.
Type: boolean
Default:
true
if stylix.autoEnable == true
and the target is installed,
otherwise false
.
stylix.targets.tmux.enable
Whether to style Tmux.
Type: boolean
Default:
true
if stylix.autoEnable == true
and the target is installed,
otherwise false
.
stylix.targets.vim.enable
Whether to style Vim and/or Neovim.
Type: boolean
Default:
true
if stylix.autoEnable == true
and the target is installed,
otherwise false
.
stylix.targets.vscode.enable
Whether to style VSCode.
Type: boolean
Default:
true
if stylix.autoEnable == true
and the target is installed,
otherwise false
.
stylix.targets.waybar.enable
Whether to style Waybar.
Type: boolean
Default:
true
if stylix.autoEnable == true
and the target is installed,
otherwise false
.
stylix.targets.waybar.enableCenterBackColors
enables background colors on the center of the bar
Type: boolean
Default:
false
stylix.targets.waybar.enableLeftBackColors
enables background colors on the left side of the bar
Type: boolean
Default:
false
stylix.targets.waybar.enableRightBackColors
enables background colors on the right side of the bar
Type: boolean
Default:
false
stylix.targets.wezterm.enable
Whether to style wezterm.
Type: boolean
Default:
true
if stylix.autoEnable == true
and the target is installed,
otherwise false
.
stylix.targets.xfce.enable
Whether to style Xfce.
Type: boolean
Default:
true
if stylix.autoEnable == true
and the target is installed,
otherwise false
.
stylix.targets.xresources.enable
Whether to style Xresources.
Type: boolean
Default:
true
if stylix.autoEnable == true
and the target is installed,
otherwise false
.
stylix.targets.yazi.enable
Whether to style Yazi.
Type: boolean
Default:
true
if stylix.autoEnable == true
and the target is installed,
otherwise false
.
stylix.targets.zathura.enable
Whether to style Zathura.
Type: boolean
Default:
true
if stylix.autoEnable == true
and the target is installed,
otherwise false
.
stylix.targets.zellij.enable
Whether to style zellij.
Type: boolean
Default:
true
if stylix.autoEnable == true
and the target is installed,
otherwise false
.