Commit graph

8 commits

Author SHA1 Message Date
Daniel Thwaites
80e8e1e2f6
treewide: add linters and apply pending suggestions (#426) 2024-06-16 15:08: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
Sergei Zimmerman
2f29ecd3e4
alacritty: replace base16-alacritty with a custom theme (#346)
Replaces mustache template with a theme specified using
Home Manager options. This removes the need for separate
templates for TOML and YAML formats.

The new colors better align with other terminal modules (e.g. wezterm),
and base24 schemes with bright- mnemonics are now supported.

Closes #341.
2024-04-22 14:17:05 +01:00
xokdvium
2d59480b45
alacritty: Use TOML template for recent versions (#219)
Since version 0.13.0 alacritty has switched to TOML config
file format. For backwards compatibility this patch implements conditional
template format depending on the package version.

Closes #214
2024-01-17 15:12:55 +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
Mason Dear
1c953ad0dc
Opacity support (#77) 2023-05-18 20:00:50 +01:00
Luc Chabassier
50dcc46fe6
Add options to set font sizes (#60)
Fixes #35 and #59

Co-authored-by: Daniel Thwaites <danthwaites30@btinternet.com>
2023-03-19 18:39:32 +00:00
DwarfMaster
fbad7b1b0c Refactor modules to separate nixos from hm code 2023-01-30 22:56:57 +01:00