Commit graph

9 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
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
awwpotato
68518231f3
zed: use mkTarget 2025-05-22 07:44:19 -07:00
awwpotato
ae74f20cc2
zed: use themes option (#1151)
Use the programs.zed-editor.themes option, introduced in commit [1]
("zed-editor: add themes option (#6832)").

[1]: bb8d286649

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

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-04-21 22:28:41 +02:00
awwpotato
c8bc1c1d9e
treewide: remove use of multiple with statements (#1085) 2025-04-08 23:22:18 +01:00
Flameopathic
3fce9fb038
treewide: propagate inputs and remove templates (#926)
Closes: https://github.com/danth/stylix/issues/238
Link: https://github.com/danth/stylix/pull/926

Reviewed-by: Daniel Thwaites <danth@danth.me>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-09 15:46:36 +01:00
musjj
f1e003194c
zed: convert font sizes from pt to px (#766)
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-01-10 18:28:33 +01:00
Floryan Simar
b47ef3b856
zed: init (#620)
Closes: https://github.com/danth/stylix/issues/348
Link: https://github.com/danth/stylix/pull/620

Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-01-06 16:21:27 +01:00