Commit graph

19 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
Vidhan Bhatt
83ff4d112b
ghostty: scale font on darwin (#1988)
Link: https://github.com/nix-community/stylix/pull/1988

Reviewed-by: Ian Holloway <72767437+IanHollow@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-11-20 18:12:54 +01:00
Vidhan Bhatt
3013f98e28
ghostty: add vidhanio as maintainer (#1992)
Link: https://github.com/nix-community/stylix/pull/1992

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-11-19 23:19:06 +01:00
NAHO
46ab7e000e
ghostty: convert font-size setting from px to pt (#1990)
Convert the font-size setting from px to pt by reverting commit
3e2c930ce0 ("ghostty: convert font-size setting from pt to px
(#1971)") because Ghostty measures font size in points, which was
previously incorrectly determined.

Link: https://github.com/nix-community/stylix/pull/1990
Reverts: 3e2c930ce0 ("ghostty: convert font-size setting from pt to px (#1971)")

Reviewed-by: pancho horrillo <pancho@pancho.name>
2025-11-19 19:05:21 +01:00
Ian Holloway
3e2c930ce0
ghostty: convert font-size setting from pt to px (#1971)
Closes: https://github.com/nix-community/stylix/issues/1965
Link: https://github.com/nix-community/stylix/pull/1971

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-11-18 15:06:06 +01:00
NAHO
bba3152bd2
treewide: standardize URL format by removing trailing slashes (#1566)
Link: https://github.com/nix-community/stylix/pull/1566

Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: Daniel Thwaites <danth@danth.me>
2025-07-06 22:18:33 +02:00
Flameopathic
17398c4fce treewide: name default testbeds 2025-05-24 08:53:58 -04: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
Flameopathic
e2fe2df9b0
doc: restructure module rendering (#1083) 2025-05-18 14:09:50 +01:00
Flameopathic
8a35410a28
treewide: add stylix.testbed.ui.{command,application} options (#1110)
Link: https://github.com/danth/stylix/pull/1110

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: awwpotato <awwpotato@voidq.com>
2025-04-29 19:59:16 +02: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
c8bc1c1d9e
treewide: remove use of multiple with statements (#1085) 2025-04-08 23:22:18 +01: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
211a8440e7
stylix: support multiple testbeds per module (#858)
Support multiple testbeds per module with
/modules/<MODULE>/testbeds/<TESTBED>.nix, while validating various
invariants.
2025-02-17 12:56:46 +00:00
Mike Forster
d5f02b5410
ghostty: be consistent with other terminals (#806)
This uses the same color mapping as Alacritty [1], WezTerm [2], and
Kitty [5], and is consistent with mkSchemeAttrs [3] and base16-shell
[4].

[1]: /modules/alacritty/hm.nix
[2]: /modules/wezterm/hm.nix
[3]: https://github.com/SenchoPens/base16.nix/blob/main/DOCUMENTATION.md#mkschemeattrs
[4]: https://github.com/chriskempson/base16-shell
[5]: https://github.com/tinted-theming/tinted-kitty/blob/main/templates/base16.mustache

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

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-01-26 21:42:11 +01:00
awwpotato
6d9867604e
treewide: reduce indentation level with lib.singleton (#754)
Reduce the indentation level with lib.singleton, as recommended by RFC 0166. [1]

[1]: 25c3f52463/rfcs/0166-nix-formatting.md (singleton-lists)

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

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-01-08 02:01:45 +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
Mirza Arnaut
6eb0597e34
ghostty: init (#703)
Link: https://github.com/danth/stylix/pull/703

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-01-02 20:01:16 +01:00