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

20 lines
416 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.type = if kitty == "cassini" then "auto" else "kitty";
logo.source = ./nixos-logo.png;
}
);
};
}