42 lines
742 B
Nix
42 lines
742 B
Nix
{
|
|
lib,
|
|
config,
|
|
namespace,
|
|
...
|
|
}:
|
|
let
|
|
inherit (lib) mkIf;
|
|
inherit (lib.${namespace}) mkEnableModule;
|
|
|
|
cfg = config.${namespace}.programs.hyfetch;
|
|
in
|
|
{
|
|
options = mkEnableModule "programs.hyfetch";
|
|
|
|
imports = [
|
|
./neofetch.nix
|
|
];
|
|
|
|
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;
|
|
};
|
|
};
|
|
};
|
|
}
|