liminalOS/users/youwen/common/fastfetch/default.nix

27 lines
517 B
Nix
Raw Normal View History

2024-10-29 20:33:10 -07:00
{
2024-11-29 00:46:06 -08:00
kitty ? true,
}:
{ config, ... }:
let
fastfetchConfig = builtins.fromJSON (builtins.readFile ./config.json);
in
{
# home.file.".config/fastfetch/config.jsonc".source = ./config.jsonc;
2024-10-29 20:33:10 -07:00
programs.fastfetch = {
enable = true;
2024-11-29 00:46:06 -08:00
settings = (
fastfetchConfig
// {
2024-12-01 18:50:12 -08:00
logo = {
height = 18;
padding = {
top = 2;
};
type = if kitty == "cassini" then "auto" else "kitty";
source = ./nixos-logo.png;
};
2024-11-29 00:46:06 -08:00
}
);
2024-10-29 20:33:10 -07:00
};
}