Commit graph

13 commits

Author SHA1 Message Date
NAHO
707059378b 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
(cherry picked from commit dfc859f54d)
2025-12-10 07:14:37 -10:00
NAHO
3fb65013f7 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.

(cherry picked from commit 16df6b8448)
2025-12-10 07:14:37 -10:00
NAHO
2f1565508a modules: flatten single-attribute set declarations
(cherry picked from commit a4ffbc20ea)
2025-12-10 07:14:37 -10:00
0xda157
c3e7ce08ae 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>
(cherry picked from commit 3a332459f4)
2025-12-05 14:52:41 -10:00
NAHO
af85565aba
treewide: replace lib.listToAttrs with builtins.listToAttrs (#1760)
Link: https://github.com/nix-community/stylix/pull/1760

Reviewed-by: awwpotato <awwpotato@voidq.com>
2025-07-26 11:12:42 -07:00
awwpotato
5259682ce5
cava: add testbed (#1617)
Link: https://github.com/nix-community/stylix/pull/1617

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-07-06 22:28:43 +00:00
awwpotato
7b2e482da7
cava: use mkTarget 2025-05-22 07:44:20 -07:00
Flameopathic
e2fe2df9b0
doc: restructure module rendering (#1083) 2025-05-18 14:09:50 +01:00
awwpotato
49b1eb9371
cava: refactor + fix rainbow.enable description (#1276)
Link: https://github.com/danth/stylix/pull/1276
2025-05-16 10:13:53 -07: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
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
bricked
be3a33d589
cava: add rainbow theme option (#638)
Link: https://github.com/danth/stylix/pull/638

Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Tested-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-12-22 17:09:05 +01:00