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";
|
|
|
|
|
2024-11-16 20:15:36 -08:00
|
|
|
imports = [
|
|
|
|
./neofetch.nix
|
|
|
|
];
|
|
|
|
|
2024-11-16 17:31:46 -08:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|