No description
Find a file
bricked 3a686a20b8
firefox: add colorTheme.enable option (#881)
Add the colorTheme.enable option to the Firefox derivatives by
installing the the Firefox Color extension.

This is not enabled by default because writing extension settings
requires manually setting 'extensions.force = true'. [1]

[1]: https://github.com/nix-community/home-manager/pull/6490

Link: https://github.com/danth/stylix/pull/881

Reviewed-by: Daniel Thwaites <danth@danth.me>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Tested-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-22 17:27:39 +01:00
.github ci: disable IFD (#855) 2025-02-11 22:32:56 +01:00
docs doc: remove site-url setting (#878) 2025-02-18 21:06:11 +01:00
modules firefox: add colorTheme.enable option (#881) 2025-02-22 17:27:39 +01:00
palette-generator treewide: add and apply nixfmt pre-commit hook 2025-01-04 17:48:26 +01:00
stylix firefox: add colorTheme.enable option (#881) 2025-02-22 17:27:39 +01:00
.envrc treewide: leverage direnv to automatically enter developer shell 2025-01-04 17:45:52 +01:00
.gitignore stylix: integrate pre-commit hooks into developer shell 2025-01-04 17:45:52 +01:00
default.nix stylix: update and simplify flake-compat instructions (#816) 2025-02-03 20:40:26 +01:00
flake.lock firefox: add colorTheme.enable option (#881) 2025-02-22 17:27:39 +01:00
flake.nix firefox: add colorTheme.enable option (#881) 2025-02-22 17:27:39 +01:00
gnome.png doc: refresh screenshots (#382) 2024-05-22 16:54:19 +01:00
kde.png doc: refresh screenshots (#382) 2024-05-22 16:54:19 +01:00
LICENSE doc: update copyright year (#715) 2025-01-04 14:33:14 +00:00
README.md stylix: support multiple testbeds per module (#858) 2025-02-17 12:56:46 +00:00

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.

For a visual guide, watch the Ricing Linux Has Never Been Easier | NixOS + Stylix YouTube video by Vimjoyer.

Note

It's now necessary to include stylix.enable = true in your configuration for any other settings to take effect. This is not mentioned in the video linked above.

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

Example configurations

GNOME 46

GNOME 46

Photos by Clay Banks and Derrick Cooper.

Try a live demo of this theme by running nix run github:danth/stylix#testbed-gnome-default-light or nix run github:danth/stylix#testbed-gnome-default-dark.

KDE Plasma 5

KDE Plasma 5

Photos by Aniket Deole and Tom Gainor.

KDE theming is still a work in progress - so some manual steps may be needed to apply the settings completely.