39 lines
703 B
Nix
39 lines
703 B
Nix
|
{
|
||
|
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;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|