Commit graph

9 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
Karun Sandhu
8c0640d572
zen: add enableCss option (#1955)
Closes: https://github.com/nix-community/stylix/issues/1944
Link: https://github.com/nix-community/stylix/pull/1955

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: awwpotato <awwpotato@voidq.com>
Approved-by: Kilian Mio <86004375+Mikilio@users.noreply.github.com>
2025-11-02 17:36:37 +01:00
Saad Nadeem
fe74ba4ade
zen-browser: fix urlbar theming after version 1.16b (#1912)
Link: https://github.com/nix-community/stylix/pull/1912

Reviewed-by: Karun Sandhu <129101708+MrSom3body@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-09-29 09:35:26 +02:00
NAHO
bae3064215
modules: replace static builtins.hasAttrs instances with '?' operator (#1913)
Fixes: c32c82e460 ("zen-browser: init (#1694)")
Fixes: e594886eb0 ("nixcord: init (#767)")
Link: https://github.com/nix-community/stylix/pull/1913

Reviewed-by: awwpotato <awwpotato@voidq.com>
2025-09-28 16:25:46 +02:00
Steinar Darri Þorgilsson
82242e0f9b
zen-browser: replace mustache template with Nix multiline string (#1829)
Link: https://github.com/nix-community/stylix/pull/1829

Reviewed-by: Karun Sandhu <129101708+MrSom3body@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: awwpotato <awwpotato@voidq.com>
2025-08-16 23:02:11 +02:00
Karun Sandhu
37673b1de0
zen-browser: fix select tags not being readable (#1738)
Link: https://github.com/nix-community/stylix/pull/1738

Reviewed-by: awwpotato <awwpotato@voidq.com>
2025-07-22 19:17:39 -07:00
Karun Sandhu
c32c82e460
zen-browser: init (#1694)
Link: https://github.com/nix-community/stylix/pull/1694
Closes: https://github.com/nix-community/stylix/issues/1685

Tested-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Tested-by: awwpotato <awwpotato@voidq.com>
2025-07-20 16:47:35 -07:00