11.stylix/modules/cavalier/hm.nix
bricked 51ad2cec11
cavalier: init (#758)
Link: https://github.com/danth/stylix/pull/758

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: awwpotato <153149335+awwsomepotato@users.noreply.github.com>
2025-01-18 14:44:33 +01:00

23 lines
586 B
Nix

{ config, lib, ... }:
{
options.stylix.targets.cavalier.enable =
config.lib.stylix.mkEnableTarget "Cavalier" true;
config =
lib.mkIf (config.stylix.enable && config.stylix.targets.cavalier.enable)
{
programs.cavalier.settings.general = {
ColorProfiles =
let
inherit (config.lib.stylix) colors;
in
lib.singleton {
Name = "Stylix";
FgColors = [ colors.base05 ];
BgColors = [ colors.base00 ];
};
ActiveProfile = 0;
};
};
}