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