mirror of
https://github.com/youwen5/nixos.git
synced 2025-01-18 21:22:10 -08:00
20 lines
416 B
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;
|
|
}
|
|
);
|
|
};
|
|
}
|