Commit graph

7 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
NAHO
2e2e96f6b0
treewide: remove blank lines around 'let', 'in', and function arguments (#1700)
Link: https://github.com/nix-community/stylix/pull/1700

Reviewed-by: awwpotato <awwpotato@voidq.com>
2025-07-19 10:41:36 -07:00
Flameopathic
17398c4fce treewide: name default testbeds 2025-05-24 08:53:58 -04:00
awwpotato
02f3d00467
foliate: use mkTarget 2025-05-21 17:06:48 -07:00
awwpotato
cb42af5571
foliate: use upstream option (#1260)
Following a home-manager module being added for Foliate [1]

[1]: https://github.com/nix-community/home-manager/pull/7049

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

Reviewed-by: Gideon Wolfe <wolfeg2@wwu.edu>
2025-05-14 18:00:02 -07:00
Gideon Wolfe
91f71c13b5
foliate: init (#1203)
Link: https://github.com/danth/stylix/pull/1203

Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-11 19:12:05 +02:00