Commit graph

17 commits

Author SHA1 Message Date
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
Dennis Lonoshchuk
f3c2f5a179
stylix: set GTK icon theme (#603)
Closes: https://github.com/danth/stylix/issues/458
Link: https://github.com/danth/stylix/pull/603

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Tested-by: Kamron Bhavnagri <kamwithk@tuta.io>
2024-11-30 19:51:29 +01:00
Alexey Lebedeff
9b61cc39b2
stylix: don't split autoloaded modules into a separate derivation (#631)
Apparently `../modules` is creating a separate derivation that contains
only that folder, so it's now separate from the flake source. But this
transient derivation isn't mentioned explicitly anywhere in the flake
outputs. It makes it impossible to target those modules in
`disabledModules` directive.

For example, after this change is applied, users can solve issues like
https://github.com/danth/stylix/issues/577 locally, by just adding the
following snippet to their configuration:

    disabledModules = [ "${inputs.stylix}/modules/regreet/nixos.nix" ];

Reviewed-by: Daniel Thwaites <danthwaites30@btinternet.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-11-17 17:40:52 +01:00
Daniel Thwaites
80e8e1e2f6
treewide: add linters and apply pending suggestions (#426) 2024-06-16 15:08:25 +01:00
Daniel Thwaites
76d6ca2224
treewide: remove use of with lib (#425) 2024-06-14 22:36:25 +01: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
Luc Chabassier
a15c3196c1
Fix default cursor in X11 (#189) 2023-11-18 10:19:20 +00:00
sntx
07795247c2
Add cursor support (#172)
Co-authored-by: Daniel Thwaites <danthwaites30@btinternet.com>
2023-11-01 13:40:25 +00:00
Bernardo Meurer
b42555850b
Move all templates into flake inputs (#165)
This reduces our reliance on import-from-derivation, so evaluation is faster.
2023-10-10 10:44:54 +01:00
Daniel Thwaites
d14076e46f
Update flake inputs ⬆️ 2023-07-14 12:50:08 +01:00
Mason Dear
1c953ad0dc
Opacity support (#77) 2023-05-18 20:00:50 +01:00
Luc Chabassier
efb734ff43
Prevent scheme generation from running when result is not used (#56) 2023-03-10 14:21:16 +00:00
DwarfMaster
610632be8e Improved default of options when used from home-manager 2023-02-02 00:22:47 +01:00
DwarfMaster
83456eceb6 Auto-enable home-manager integration when hm is available 2023-02-01 21:38:01 +01:00
DwarfMaster
fbad7b1b0c Refactor modules to separate nixos from hm code 2023-01-30 22:56:57 +01:00
DwarfMaster
76a254f9fe Separate stylix into a nixos module and a home-manager module 2023-01-30 19:25:27 +01:00