Commit graph

15 commits

Author SHA1 Message Date
NAHO
dfc859f54d
treewide: optionalize mkTarget's humanName and name arguments
Optionalize mkTarget's 'humanName' and 'name' arguments by inferring
'humanName' from the 'name' attribute in the /modules/<MODULE>/meta.nix
file, and 'name' from the /modules/<NAME>/ directory name.

Inferring the 'humanName' and 'name' arguments ensures consistency and
reduces boilerplate.

The 'humanName' and 'name' arguments are optionalized instead of removed
because complex modules generating target derivations need to
distinguish between them.

Closes: https://github.com/nix-community/stylix/issues/1661
2025-12-10 14:48:37 +01:00
NAHO
16df6b8448
treewide: rename mkTarget's configElements and extraOptions options
Rename mkTarget's 'configElements' argument to 'config' and
'extraOptions' to 'options' to provide a more transparent interface with
the underlying Nixpkgs module system.
2025-12-10 14:48:20 +01:00
0xda157
3a332459f4
treewide: use strict mode for nixfmt (#2041)
Link: https://github.com/nix-community/stylix/pull/2041
Link: https://github.com/nix-community/stylix/pull/1976#discussion_r2539186937

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-12-05 16:05:09 -08:00
Flameopathic
7f7472cc90
spicetify: add testbed (#1625)
Link: https://github.com/nix-community/stylix/pull/1625

Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-07-14 22:41:24 +02:00
Flameopathic
458d283547
spicetify: make background color different from text (#1626)
Closes: https://github.com/nix-community/stylix/issues/1615
Link: https://github.com/nix-community/stylix/pull/1626

Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-07-11 12:45:17 +02:00
awwpotato
ad13dd4eb2
spicetify: use mkTarget 2025-07-03 11:56:20 -07:00
awwpotato
beefa934a6
spicetify: remove redundent config check 2025-07-03 11:34:25 -07:00
Flameopathic
e2fe2df9b0
doc: restructure module rendering (#1083) 2025-05-18 14:09:50 +01:00
Flameopathic
82f67a36eb
doc: align module capitalization (#1115)
Closes: https://github.com/danth/stylix/issues/1084
Link: https://github.com/danth/stylix/pull/1115

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: Daniel Thwaites <danth@danth.me>
Reviewed-by: awwpotato <153149335+awwpotato@users.noreply.github.com>
2025-04-10 08:45:51 +02:00
Daniel Thwaites
a55488c247
doc: reduce overuse of alerts (#1041)
Using too many "info" and "warning" boxes makes them less effective when
they're needed to draw attention to something genuinely important.

This commit adds important boxes to modules which require an external
module to be imported, similar to the box already used on the "Firefox and
derivatives" page.

It changes the warning when a module has no maintainers to a regular
paragraph.

The note about `stylix.enable` being new is removed, since this has been
around for a while now.
2025-03-23 13:25:15 +00:00
Flameopathic
113643f332
doc: add note for user-imported modules (#1039)
Adds basic documentation to every Stylix module which requires a
user-imported module to function.

Intended to prevent issues like #1033
2025-03-21 21:11:03 +00:00
awwpotato
e43eb4e2a7
stylix: init module maintainers framework (#977)
Initialize module maintainers framework to streamline the future
population of module maintainers [1].

[1]: https://github.com/danth/stylix/issues/275

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

Reviewed-by: Daniel Thwaites <danth@danth.me>
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-14 19:29:51 +01:00
NAHO
ad64260a75
treewide: add and apply nixfmt pre-commit hook
Link: https://github.com/danth/stylix/pull/519
2025-01-04 17:48:26 +01:00
soulsoiledit
e7e9705977
spicetify: disable sidebar to resolve incompatiblity notification (#579)
Disable sidebar configuration to resolve an incompatibility notification
on startup.

Fixes: 0eea8bcb0f ("spicetify: init (#574)")

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-09-30 21:07:55 +02:00
bricked
0eea8bcb0f
spicetify: init (#574)
Creates a theme for Spotify, when used in combination with
https://github.com/Gerg-L/spicetify-nix
2024-09-29 19:36:58 +01:00