Skip to content

danth/stylix

Repository files navigation

Stylix

Stylix is a NixOS module which applies the same colour scheme, font and wallpaper to a range of applications and desktop environments.

What's this?

base16.nix allows you to import colours from base16 into Nix code. Stylix takes this a step further:

  • Automatically colours and changes the font of apps
  • Sets your wallpaper
  • Exports the colour scheme to be used manually for anything we missed
  • Can also generate themes based on an image

For those not familiar with NixOS and Home Manager:

  • NixOS is a Linux distribution
  • Home Manager is a program which runs anywhere
  • Both use the Nix language and package manager
  • Both let you install programs and change settings via code

Stylix supports either NixOS + Home Manager, or Home Manager on its own. Certain features are only available with NixOS.

Resources

Please refer to the Stylix book for instructions and a list of supported apps.

If you have any questions, you are welcome to join our Matrix room, or ask on GitHub Discussions.

Example configurations

GNOME 44

Environment Wallpaper Colour scheme Fonts Full configuration
GNOME 44 Atlantis Garbage Worker by Grady Frederick Generated by Stylix Cantarell, Fira Code See here

KDE Plasma 5

Environment Wallpaper Colour scheme Fonts Full configuration
KDE Plasma 5 Taken from Genshin Impact Generated by Stylix Cantarell, Fira Code See here

Hyprland

Environment Wallpaper Colour scheme Fonts Full configuration
Hyprland Taken from raison d'etre by Eve Generated by Stylix DeJavu See here