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>
23 lines
586 B
Nix
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;
|
|
};
|
|
};
|
|
}
|