Commit graph

6 commits

Author SHA1 Message Date
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
Daniel Thwaites
e87bf16df9
stylix: use absolute paths for module imports 2025-02-18 14:37:50 +00:00
Jalil David Salamé Messina
7682713f6a
stylix: add 'stylix.enable' option (#244)
Add a 'stylix.enable' option to enable or disable all Stylix modules in
order to resolve issues similar to [2].

To align with the default 'lib.mkEnableOption' [1] behavior,
'stylix.enable' defaults to 'false'.

BREAKING CHANGE: Stylix is disabled by default. To enable it, use:

    stylix.enable = true;

[1]: https://github.com/NixOS/nixpkgs/blob/23.11/lib/options.nix#L91-L105
[2]: https://github.com/danth/stylix/issues/216

Co-authored-by: Daniel Thwaites <danthwaites30@btinternet.com>
Co-authored-by: Jalil David Salamé Messina <jalil.salame@gmail.com>
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-06-10 11:52:47 +02:00
Luc Chabassier
b17c41ca43
stylix: reduce duplication (#245)
Fixes #234
2024-02-09 15:28:46 +00:00
Daniel Thwaites
d14076e46f
Update flake inputs ⬆️ 2023-07-14 12:50:08 +01:00
Bernardo Meurer
dd33836655
Add darwinModules (#71) 2023-03-28 15:03:06 +00:00