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

26 lines
517 B
Nix

{
kitty ? true,
}:
{ config, ... }:
let
fastfetchConfig = builtins.fromJSON (builtins.readFile ./config.json);
in
{
# home.file.".config/fastfetch/config.jsonc".source = ./config.jsonc;
programs.fastfetch = {
enable = true;
settings = (
fastfetchConfig
// {
logo = {
height = 18;
padding = {
top = 2;
};
type = if kitty == "cassini" then "auto" else "kitty";
source = ./nixos-logo.png;
};
}
);
};
}