marleyos/modules/home/programs/hyfetch/default.nix

39 lines
703 B
Nix
Raw Normal View History

2024-11-16 17:31:46 -08:00
{
lib,
config,
namespace,
...
}:
let
inherit (lib) mkIf;
inherit (lib.${namespace}) mkEnableModule;
cfg = config.${namespace}.programs.hyfetch;
in
{
options = mkEnableModule "programs.hyfetch";
config = mkIf cfg.enable {
programs.hyfetch = {
enable = true;
settings = {
preset = "lesbian";
mode = "rgb";
light_dark = "dark";
lightness = 0.7;
color_align = {
mode = "horizontal";
custom_colors = [ ];
fore_back = null;
};
backend = "neofetch";
args = null;
distro = null;
pride_month_shown = [ ];
pride_month_disable = false;
};
};
};
}