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

21 lines
416 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
// {
logo.type = if kitty == "cassini" then "auto" else "kitty";
logo.source = ./nixos-logo.png;
}
);
2024-10-29 20:33:10 -07:00
};
}