Commit graph

955 commits

Author SHA1 Message Date
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
Matt Sturgeon
9cb8a57eac
stylix: drop unnecessary use of self in darwin 2025-05-28 19:32:15 +01:00
Matt Sturgeon
5fa31498d2
stylix: drop unnecessary use of self in home-manager 2025-05-28 19:32:15 +01:00
Matt Sturgeon
950483a5d0
stylix: drop unnecessary use of self in nixos 2025-05-28 19:30:31 +01:00
Matt Sturgeon
9fb268f3a6
stylix: drop unnecessary use of self in autoload.nix 2025-05-28 19:20:58 +01:00
Matt Sturgeon
91755e0f1c
stylix: drop unnecessary use of self in testbed 2025-05-28 19:20:54 +01:00
Matt Sturgeon
eaa38e0591
doc: drop unnecessary use of self 2025-05-28 19:10:42 +01:00
Matt Sturgeon
b1a152c639
flake: drop unnecessary use of self 2025-05-28 19:10:38 +01:00
NAHO
2579395763
stylix: refactor testbed impl in prep for flake partition (#1395)
Link: https://github.com/nix-community/stylix/pull/1395

Reviewed-by: Flameopathic <64027365+Flameopathic@users.noreply.github.com>
Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-28 18:39:16 +02:00
Matt Sturgeon
ba217a8128
flake: use biome formatter for JSON and CSS (#1394)
Link: https://github.com/nix-community/stylix/pull/1394

Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-28 17:55:09 +02:00
Matt Sturgeon
f996bf8870
stylix: move testbed isEnabled to its own file 2025-05-28 00:30:20 +01:00
Matt Sturgeon
aaa0517d20
stylix: move testbed themes to their own files
- Converted stylix config into full modules that define `stylix`.
- Introduce `images.nix` for defining common images.
- Renamed `testcase` → `themeName` and `stylix` → `themeModule`.

Co-authored-by: Flameopathic <64027365+Flameopathic@users.noreply.github.com>
2025-05-28 00:30:20 +01:00
Matt Sturgeon
7afee8f85b
stylix: move testbed modules to their own files
Introduce `user.toml` for storing shared user info.
2025-05-28 00:30:20 +01:00
Matt Sturgeon
c765b15fc3
stylix: move testbed to a dedicated directory 2025-05-28 00:30:20 +01:00
Matt Sturgeon
93507d3cd7
stylix: make testbedFieldSeparator a file arg 2025-05-28 00:30:19 +01:00
Matt Sturgeon
8ebdc8cc8b
stylix: remove ... from testbed file args
Generally, it is better to be strict about the expected input args.

`...` should only be used when you need to accept unexpected or
arbitrary arguments.
2025-05-28 00:30:19 +01:00
losnappas
e38a646e5c
bemenu: fix undefined variable error (#1390)
Link: https://github.com/nix-community/stylix/pull/1390

Reviewed-by: awwpotato <awwpotato@voidq.com>
2025-05-27 13:03:55 -07:00
Matt Sturgeon
dedf5de579 doc: enable hash-files
Adds a hash to static filenames, i.e. CSS and JS files. This is done to
invalidate browser cache when the file is changed.
2025-05-27 11:05:00 -07:00
Matt Sturgeon
19e48021e3 doc: add redirect for 'Standalone Nixvim'
Follow up to #1219
2025-05-27 11:05:00 -07:00
Matt Sturgeon
9f94e35373 doc: add JavaScript redirects
We already have HTML support for redirects built-in to MDBook, however
this only works for redirecting from _pages_. Sometimes we want to
redirect from a specific _anchor_ tag.
2025-05-27 11:05:00 -07:00
Matt Sturgeon
9746893051 flake: add 'biome' to treefmt for javascript
https://biomejs.dev/formatter/differences-with-prettier

Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-27 11:05:00 -07:00
NAHO
1fdbf01ebe
stylix: reduce testbed names (#1094)
Link: https://github.com/nix-community/stylix/pull/1094

Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: Matt Sturgeon <matt@sturgeon.me.uk>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-26 18:23:38 +02:00
NAHO
d66135deb3
flake: add ruff formatter (#1389)
Link: https://github.com/nix-community/stylix/pull/1389

Reviewed-by: awwpotato <awwpotato@voidq.com>
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: Matt Sturgeon <matt@sturgeon.me.uk>
2025-05-26 18:06:05 +02:00
wawwior
aa70426f8f
console: improve color consistency (#1388)
Link: https://github.com/nix-community/stylix/pull/1388

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-26 16:29:34 +02:00
Flameopathic
225b2ddbba
doc: explain testbed options (#1383)
Link: https://github.com/nix-community/stylix/pull/1383

Reviewed-by: Mateus Auler <mateus@auler.dev>
Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-26 14:54:39 +02:00
Matt Sturgeon
e22f96de3f
doc: update documentation to reflect #1083 (#1329)
Link: https://github.com/nix-community/stylix/pull/1329

Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: Flameopathic <64027365+Flameopathic@users.noreply.github.com>
2025-05-25 15:55:24 -07:00
Flameopathic
17398c4fce treewide: name default testbeds 2025-05-24 08:53:58 -04:00
Flameopathic
2b7ff59d81 stylix: reduce testbed names 2025-05-24 08:53:58 -04:00
awwpotato
34b5930894
doc: recommend 25.05 as stable version (#1320) 2025-05-23 12:29:21 -07:00
awwpotato
6b2bc89659
stylix: allow for overlays to access options (#1372)
Link: https://github.com/nix-community/stylix/pull/1372

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-23 19:03:37 +00:00
NAHO
e4fde51c6e
tofi: add missing lib module argument (#1370)
Fixes: 7ffb31da69 ("treewide: use mkTarget (batch 2) (#1362)")
Link: https://github.com/nix-community/stylix/pull/1370

Reviewed-by: awwpotato <awwpotato@voidq.com>
Tested-by: repparw <45952970+repparw@users.noreply.github.com>
2025-05-23 20:49:31 +02:00
awwpotato
7ffb31da69
treewide: use mkTarget (batch 2) (#1362)
Link: https://github.com/nix-community/stylix/pull/1362

Reviewed-by: Flameopathic <64027365+Flameopathic@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-23 19:23:39 +02:00