No description
The global `stylix.enable` option is not relevant to the per-target
`enable` option's default.
The individual modules should already be gated behind `stylix.enable`,
so there is no need for it to also affect the value of
`stylix.targets.«name».enable`.
This should not produce any change in behavior for correctly written
modules.
---
To give a concrete example:
```nix
{
stylix.enable = false;
stylix.autoEnable = true;
stylix.targets.foo.enable = true;
}
```
Here, the `stylix.enable` option is set to `false`, so no targets should
be enabled, regardless of their per-target `enable` option's value.
However if the `foo` target assumes it only needs to read its own
`enable` option, in this example it would define its config even though
Stylix is disabled globally.
|
||
|---|---|---|
| .github | ||
| docs | ||
| modules | ||
| palette-generator | ||
| stylix | ||
| .editorconfig | ||
| .envrc | ||
| .gitignore | ||
| default.nix | ||
| flake.lock | ||
| flake.nix | ||
| gnome.png | ||
| kde.png | ||
| LICENSE | ||
| README.md | ||
Stylix
About
Stylix is a theming framework for NixOS, Home Manager, nix-darwin, and Nix-on-Droid that applies color schemes, wallpapers, and fonts to a wide range of applications.
Unlike color scheme utilities such as base16.nix or nix-colors, Stylix goes further by applying themes to supported applications, following the "it just works" philosophy.
Resources
Example configurations
GNOME 46
Wallpapers by Clay Banks and Derrick Cooper.
Try a live demo of this dark theme by running:
nix run github:danth/stylix#testbed:gnome:default:dark:image:scheme:cursor
KDE Plasma 5
Wallpapers by Aniket Deole and Tom Gainor.
Since KDE theming is still a work in progress, some manual steps may be required to properly apply its theme.