Commit graph

986 commits

Author SHA1 Message Date
Shahar "Dawn" Or
e9eb2308ff
i3bar-river: init (#1415)
Link: https://github.com/nix-community/stylix/pull/1415

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-06-12 17:21:48 +02:00
awwpotato
e7fa0e5cc2
ncspot: use mkTarget (#1333)
Link: https://github.com/nix-community/stylix/pull/1333

Reviewed-by: Matt Sturgeon <matt@sturgeon.me.uk>
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-06-11 21:35:58 +02:00
Shahar "Dawn" Or
6d72fc259b
fontconfig: align Home Manager with NixOS and enhance docs (#1292)
BREAKING CHANGE: The fontconfig target no longer enables Home Manager's
fonts.fontconfig.enable option and now sets Home Manager's
fonts.fontconfig.defaultFonts option instead.

Link: https://github.com/nix-community/stylix/pull/1292

Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: Flameopathic <64027365+Flameopathic@users.noreply.github.com>
Reviewed-by: Matt Sturgeon <matt@sturgeon.me.uk>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-06-10 19:28:41 +02:00
Shahar "Dawn" Or
54703a4621
neovide: init (#1406)
Link: https://github.com/nix-community/stylix/pull/1406

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Tested-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-06-10 19:11:53 +02:00
Daniel Thwaites
d73d8f6a48
treewide: use mkEnableTargetWith for dynamic autoEnable conditions (#1244)
Use the new `mkEnableTargetWith` function for dynamic `autoEnable`
conditions to prevent the evaluation of dynamic conditions during
documentation rendering.

The "same as `stylix.autoEnable`" `defaultText` is replaced with
`stylix.autoEnable` or `stylix.autoEnable && ${autoEnableExpr}`,
depending on whether `autoEnableExpr` is provided. For readability,
`autoEnable` expressions containing Nix operators of lower precedence
than `&&` are automatically wrapped in parentheses, unless
`autoWrapExpr` is disabled.

Closes: https://github.com/nix-community/stylix/issues/98
Link: https://github.com/nix-community/stylix/pull/1244

Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: Daniel Thwaites <danth@danth.me>
2025-06-09 16:11:02 +01:00
Shahar "Dawn" Or
5869510e48
i3status-rust: apply background opacity (#1450)
Link: https://github.com/nix-community/stylix/pull/1450

Reviewed-by: pancho horrillo <pancho@pancho.name>
Reviewed-by: Daniel Thwaites <danth@danth.me>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-06-08 18:01:38 +02:00
Louis Dalibard
b3e8f15fe3
blender: prevent IFD (#1467) 2025-06-08 13:31:06 +01:00
pancho horrillo
29d006198e
treewide: simplify opacity calculation (#1459) 2025-06-06 18:58:35 +00:00
awwpotato
8456dfa7f6
ci: don't check repository_owner (#1436) 2025-06-06 00:20:19 +01:00
NAHO
937a154dc3
blender: move README into meta description (#1460) 2025-06-05 19:18:59 +01:00
Louis Dalibard
a057acc112
blender: init (#1147)
Link: https://github.com/nix-community/stylix/pull/1147

Reviewed-by: Daniel Thwaites <danth@danth.me>
Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-06-04 18:10:45 +02:00
NAHO
0db3ec0215
flake: rename packages.«system».docs to packages.«system».doc (#1407)
Rename packages.«system».docs to packages.«system».doc, following the
discussion in [1] ("doc: move to doc directory").

[1]: https://github.com/nix-community/stylix/pull/1272#discussion_r2097630348

Link: https://github.com/nix-community/stylix/pull/1407

Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-06-04 17:37:06 +02:00
awwpotato
c0398ebaa4
ci: add 'has: port to stable' label for backports (#1367)
Link: https://github.com/nix-community/stylix/pull/1367

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-06-04 17:36:45 +02:00
Matt Sturgeon
3945a2d349
flake: include 'until' in rename warning 2025-06-04 16:11:11 +01:00
Matt Sturgeon
47553c06fb
flake: rename packages.«system».docspackages.«system».doc
Use the new `perSystem.stylix.aliases` option to rename
`packages.«system».docs` and `apps.«system».docs` to `doc`.

The alias will be defined until 25.11 and will always warn when
evaluated.
2025-06-04 16:10:53 +01:00
Matt Sturgeon
88c63899c7
flake: introduce a perSystem.stylix.aliases option 2025-06-04 16:10:52 +01:00
Matt Sturgeon
289356d031
treewide: use mkEnableTargetWith for dynamic conditions
Ensure enable options with dynamic `autoEnable` are documented
correctly.
2025-06-04 15:48:14 +01:00
Matt Sturgeon
67b4644e70
stylix: use mkEnableTargetWith in mkTarget 2025-06-04 15:48:13 +01:00
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
Matt Sturgeon
a4d92fea87
stylix: split mkEnableTarget into mkEnableTargetWith 2025-06-04 15:48:13 +01:00
Matt Sturgeon
92276a14a7
stylix: add mkEnableIf
Refactor `mkEnableTarget` and `mkEnableWallpaper` to use `mkEnableIf`.
2025-06-04 15:48:13 +01:00
Matt Sturgeon
93eb9c5401
stylix: simplify mkEnableTarget & mkEnableWallpaper defaultText
Drop the redundant "same as" prefix and instead use a `literalExpression`.

Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-06-04 15:48:13 +01:00
Matt Sturgeon
df428b562d
qt: use a static autoEnable=true on NixOS 2025-06-04 15:48:12 +01:00
Matt Sturgeon
5c5d9fbc3b
flake: move deprecation module to its own directory 2025-06-04 15:31:10 +01:00
NAHO
7e9cced782
{font-packages,fontconfig}: init (#1381)
Link: https://github.com/nix-community/stylix/pull/1381

Reviewed-by: Flameopathic <64027365+Flameopathic@users.noreply.github.com>
Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: Matt Sturgeon <matt@sturgeon.me.uk>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-06-04 15:30:56 +02:00
Shahar "Dawn" Or
d0a956c2c1 fontconfig: init 2025-06-04 16:33:12 +07:00
Shahar "Dawn" Or
da1623cab0 font-packages: init 2025-06-04 16:30:47 +07:00
Matt Sturgeon
82d9424fff
doc: init server; nix run .#docs (#1328)
Adds:

- `serve-docs` to the default devShell
- `packages.serve-docs`
- `apps.docs`

Having `apps.docs` defined causes `nix run .#docs` to run the "app"
instead of `packages.docs`. `nix build .#docs` will still build the
"package", not the "app".

The `serve-docs` script added to the devShell runs `nix run .#docs`
instead of having `packages.serve-docs` in its closure. This avoids the
devShell actually building the docs.

Added a note to `doc/src/modules.md`.

Link: https://github.com/nix-community/stylix/pull/1328

Reviewed-by: awwpotato <awwpotato@voidq.com>
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-06-03 19:01:51 +02:00
pancho horrillo
8d829119c5
wayprompt: drop '-hex' suffix on single color value (#1449)
To reduce the surprise factor when comparing to the other color specs in
this file.

Link: https://github.com/nix-community/stylix/pull/1449

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: NukDokPlex <nukdokplex@gmail.com>
2025-06-03 18:09:02 +02:00
pancho horrillo
d28012b098
wayfire: capitalize humanName value (#1451)
Link: https://github.com/nix-community/stylix/pull/1451

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-06-03 18:06:38 +02:00
awwpotato
aa5e3c0333
treewide: use mkTarget (batch 3) (#1371)
Link: https://github.com/nix-community/stylix/pull/1371

Reviewed-by: pancho horrillo <pancho@pancho.name>
Reviewed-by: Matt Sturgeon <matt@sturgeon.me.uk>
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-06-03 15:58:55 +02:00
awwpotato
ced2af0622
ci: use ubuntu-24.04 for update-flake (#1444)
Fixes: a6a467a7c1 ("ci: add flake update action (#1100)")
Link: https://github.com/nix-community/stylix/pull/1444

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-06-03 15:22:29 +02:00
NAHO
3ca2c4478a
firefox: add naho as maintainer (#1442)
Although qutebrowser is my main browser, I occasionally use LibreWolf
and Tor Browser. Consequently, I am adding myself as a maintainer to
this rather important module.

Link: https://github.com/nix-community/stylix/pull/1442
2025-06-02 20:07:18 +02:00
awwpotato
a231e38dfc
firefox: use mkTarget (#1339)
Link: https://github.com/nix-community/stylix/pull/1339

Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>
Reviewed-by: Matt Sturgeon <matt@sturgeon.me.uk>
Reviewed-by: eveeifyeve <88671402+Eveeifyeve@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-06-02 19:53:33 +02:00
awwpotato
599c76190f
gnome-text-editor: use mkTarget (#1384)
Link: https://github.com/nix-community/stylix/pull/1384

Reviewed-by: Flameopathic <64027365+Flameopathic@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-06-02 18:53:33 +02:00
github-actions[bot]
5f841056ca flake: update all inputs
Flake lock file updates:

• Updated input 'base16-helix':
    'github:tinted-theming/base16-helix/03860521c40b0b9c04818f2218d9cc9efc21e7a5?narHash=sha256-esD42YdgLlEh7koBrSqcT7p2fsMctPAcGl/%2B2sYJa2o%3D' (2025-01-14)
  → 'github:tinted-theming/base16-helix/6c711ab1a9db6f51e2f6887cc3345530b33e152e?narHash=sha256-9M2b1rMyMzJK0eusea0x3lyh3mu5nMeEDSc4RZkGm%2Bg%3D' (2025-05-28)
• Updated input 'firefox-gnome-theme':
    'github:rafaelmardojai/firefox-gnome-theme/59e3de00f01e5adb851d824cf7911bd90c31083a?narHash=sha256-5A6LL7T0lttn1vrKsNOKUk9V0ittdW0VEqh6AtefxJ4%3D' (2025-04-14)
  → 'github:rafaelmardojai/firefox-gnome-theme/4eb2714fbed2b80e234312611a947d6cb7d70caf?narHash=sha256-pGvD/RGuuPf/4oogsfeRaeMm6ipUIznI2QSILKjKzeA%3D' (2025-05-27)
• Updated input 'flake-compat':
    'github:edolstra/flake-compat/ff81ac966bb2cae68946d5ed5fc4994f96d0ffec?narHash=sha256-NeCCThCEP3eCl2l/%2B27kNNK7QrwZB1IJCrXfrbv5oqU%3D' (2024-12-04)
  → 'github:edolstra/flake-compat/9100a0f413b0c601e0533d1d94ffd501ce2e7885?narHash=sha256-CIVLLkVgvHYbgI2UpXvIIBJ12HWgX%2BfjA8Xf8PUmqCY%3D' (2025-05-12)
• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9?narHash=sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c%3D' (2024-12-04)
  → 'github:hercules-ci/flake-parts/c621e8422220273271f52058f618c94e405bb0f5?narHash=sha256-hIshGgKZCgWh6AYJpJmRgFdR3WUbkY04o82X05xqQiY%3D' (2025-04-01)
• Updated input 'git-hooks':
    'github:cachix/git-hooks.nix/dcf5072734cb576d2b0c59b2ac44f5050b5eac82?narHash=sha256-DwOTp7nvfi8mRfuL1escHDXabVXFGT1VlPD1JHrtrco%3D' (2025-03-22)
  → 'github:cachix/git-hooks.nix/80479b6ec16fefd9c1db3ea13aeb038c60530f46?narHash=sha256-2Y53NGIX2vxfie1rOW0Qb86vjRZ7ngizoo%2BbnXU9D9k%3D' (2025-05-16)
• Updated input 'home-manager':
    'github:nix-community/home-manager/29dda415f5b2178278283856c6f9f7b48a2a4353?narHash=sha256-9j3oCbemeH7bTVXJ3pDWxOptbxDx2SdK1jY2AHpjQiw%3D' (2025-05-20)
  → 'github:nix-community/home-manager/5675a9686851d9626560052a032c4e14e533c1fa?narHash=sha256-5kvBbLYdp%2Bn7Ftanjcs6Nv%2BUO6sBhelp6MIGJ9nWmjQ%3D' (2025-06-01)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/292fa7d4f6519c074f0a50394dbbe69859bb6043?narHash=sha256-GaOZntlJ6gPPbbkTLjbd8BMWaDYafhuuYRNrxCGnPJw%3D' (2025-05-18)
  → 'github:NixOS/nixpkgs/96ec055edbe5ee227f28cdbc3f1ddf1df5965102?narHash=sha256-7doLyJBzCllvqX4gszYtmZUToxKvMUrg45EUWaUYmBg%3D' (2025-05-28)
• Updated input 'nur':
    'github:nix-community/NUR/d476cd0972dd6242d76374fcc277e6735715c167?narHash=sha256-/emueQGaoT4vu0QjU9LDOG5roxRSfdY0K2KkxuzazcM%3D' (2025-04-30)
  → 'github:nix-community/NUR/2c0bc52fe14681e9ef60e3553888c4f086e46ecb?narHash=sha256-5LKmRYKdPuhm8j5GFe3AfrJL8dd8o57BQ34AGjJl1R0%3D' (2025-05-31)
• Updated input 'tinted-schemes':
    'github:tinted-theming/schemes/28c26a621123ad4ebd5bbfb34ab39421c0144bdd?narHash=sha256-Fg%2BrdGs5FAgfkYNCs74lnl8vkQmiZVdBsziyPhVqrlY%3D' (2025-04-18)
  → 'github:tinted-theming/schemes/87d652edd26f5c0c99deda5ae13dfb8ece2ffe31?narHash=sha256-7n0XiZiEHl2zRhDwZd/g%2Bp38xwEoWtT0/aESwTMXWG4%3D' (2025-05-25)
• Updated input 'tinted-tmux':
    'github:tinted-theming/tinted-tmux/e009f18a01182b63559fb28f1c786eb027c3dee9?narHash=sha256-udV%2BnHdpqgkJI9D0mtvvAzbqubt9jdifS/KhTTbJ45w%3D' (2025-04-20)
  → 'github:tinted-theming/tinted-tmux/57d5f9683ff9a3b590643beeaf0364da819aedda?narHash=sha256-OEM12bg7F4N5WjZOcV7FHJbqRI6jtCqL6u8FtPrlZz4%3D' (2025-06-01)
2025-06-01 11:36:44 -07:00
awwpotato
b001c0b513
ci: flake update 25.05 (#1434)
Link: https://github.com/nix-community/stylix/pull/1434
2025-06-01 10:15:11 -07:00
repparw
48c4636856
gnome: fix xserver option renames (#1429) 2025-06-01 17:30:05 +01:00
awwpotato
64b9f2c2df
stylix: yamlint ignore truthy for workflows (#1116)
Link: https://github.com/nix-community/stylix/pull/1116

Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-31 11:44:33 -07:00
awwpotato
093087e969
stylix: add imports to mkTarget (#1363)
Link: https://github.com/nix-community/stylix/pull/1363

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-31 11:17:32 -07:00
NAHO
8762da957b
treewide: remove unnecessary use of self (#1413)
Remove the unnecessary use of self to simplify path handling by reducing
importApply uses, and eliminating unsafeRemoveStringContext.

This is a follow-up to commit 9b61cc39b2 ("stylix: don't split
autoloaded modules into a separate derivation (#631)").

Be aware that this change emphasizes careful use of string
interpolation. Using "${./foo}" can inadvertently create store objects.
This behavior aligns with standard Nix practices, so it's a good habit
to be mindful of it. While there are valid cases for creating store
objects (for example, when a derivation needs to depend on a file), if
you're working directly with paths or files within your project, either
keep the value as a path or use toString instead of string
interpolation.

Closes: https://github.com/nix-community/stylix/issues/1393
Link: https://github.com/nix-community/stylix/pull/1413

Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-31 15:58:26 +02:00
Fea
b69e9b761e
yazi: Change deprecated "manager" to new name "mgr" (#1424)
Link: https://github.com/nix-community/stylix/pull/1424

Reviewed-by: awwpotato <awwpotato@voidq.com>
2025-05-30 16:03:29 +00:00
Matt Sturgeon
0512b0f685
ci: fix backport conditions (#1420)
Link: https://github.com/nix-community/stylix/pull/1420

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
Reviewed-by: awwpotato <awwpotato@voidq.com>
2025-05-29 19:30:39 -07:00
Matt Sturgeon
838df8b8ad
stylix: improve stylix.image type (#1414)
Previously:

- Out-of-store paths were not necessarily copied to store.

- Derivations were needlessly coerced to strings.

- `package` and `path` were both used, despite `path` being a superset
  of `package`.

Link: https://github.com/nix-community/stylix/pull/1414

Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-30 02:13:13 +02:00
Julian Hauser
4a121321d3
waybar: add bluetooth configuration (#1412)
Co-authored-by: jghauser <julianhauser.com>
2025-05-29 10:57:12 -07:00
Flameopathic
37736ba403
home-manager: cast cursor size to int (#1401)
Link: https://github.com/nix-community/stylix/pull/1401

Reviewed-by: awwpotato <awwpotato@voidq.com>
2025-05-29 10:52:17 -07:00
Matt Sturgeon
3a4599a330
stylix: check base16Scheme is not null before using mkSchemeAttrs (#1408)
Link: https://github.com/nix-community/stylix/pull/1408
Closes: https://github.com/nix-community/stylix/issues/1046
Closes: https://github.com/nix-community/stylix/issues/1385

Reviewed-by: awwpotato <awwpotato@voidq.com>
2025-05-29 10:41:30 -07:00
Matt Sturgeon
99130f414d
stylix: minor meta.nix cleanup 2025-05-28 19:32:15 +01:00
Matt Sturgeon
03748a36d5
stylix: drop unnecessary use of self in meta.nix 2025-05-28 19:32:15 +01:00
Matt Sturgeon
23e3013b62
stylix: drop unnecessary use of self in droid 2025-05-28 19:32:15 +01:00