No description
Find a file
Matt Sturgeon 0449dae6d4
stylix: allow specifying autoEnableExpr in mkEnableTargetWith
This allows correctly documenting dynamic enable conditions.

E.g:
```nix
    enable = mkEnableTargetWith {
      name = "QT";
      autoEnable = pkgs.stdenv.hostPlatform.isLinux;
      autoEnableExpr = "pkgs.stdenv.hostPlatform.isLinux";
    };
```

`autoEnableExpr` will be wrapped in parentheses if it contains a nix
operator with lower precedence than `&&`.

Added a note in the docs mentioning `mkEnableTarget` should either have
a static `autoEnable` or specify `autoEnableExpr`.
2025-06-04 15:48:13 +01:00
.github ci: use ubuntu-24.04 for update-flake (#1444) 2025-06-03 15:22:29 +02:00
doc stylix: allow specifying autoEnableExpr in mkEnableTargetWith 2025-06-04 15:48:13 +01:00
flake doc: init server; nix run .#docs (#1328) 2025-06-03 19:01:51 +02:00
modules qt: use a static autoEnable=true on NixOS 2025-06-04 15:48:12 +01:00
palette-generator treewide: use lib.getExe (#1241) 2025-05-10 12:07:43 +01:00
stylix stylix: allow specifying autoEnableExpr in mkEnableTargetWith 2025-06-04 15:48:13 +01:00
.editorconfig stylix: add editorconfig (#945) 2025-03-07 20:55:29 +01:00
.envrc treewide: leverage direnv to automatically enter developer shell 2025-01-04 17:45:52 +01:00
.gitignore stylix: gitignore .worktree (#1268) 2025-05-14 17:29:07 -07:00
.yamllint.yml stylix: yamlint ignore truthy for workflows (#1116) 2025-05-31 11:44:33 -07:00
default.nix stylix: update and simplify flake-compat instructions (#816) 2025-02-03 20:40:26 +01:00
flake.lock flake: update all inputs 2025-06-01 11:36:44 -07:00
flake.nix flake: update and unlock tinted-kitty input (#1308) 2025-05-19 18:53:21 +02: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: reduce testbed names 2025-05-24 08:53:58 -04:00

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

GNOME 46

Wallpapers by Clay Banks and Derrick Cooper.

Try a live demo of this dark theme by running:

nix run github:nix-community/stylix#testbed:gnome:dark

KDE Plasma 5

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.