fastfetch: fix config

This commit is contained in:
DashieTM 2025-05-19 20:41:37 +02:00
parent 78afacde79
commit c2127e0047

View file

@ -57,14 +57,16 @@
config = lib.optionalAttrs (options ? home.packages) { config = lib.optionalAttrs (options ? home.packages) {
xdg.configFile."fastfetch/config.jsonc" = lib.mkIf (config.mods.dashfetch.enable) { xdg.configFile."fastfetch/config.jsonc" = lib.mkIf (config.mods.dashfetch.enable) {
source = (pkgs.formats.json {}).generate "config.jsonc" { source =
(pkgs.formats.json {}).generate "config.jsonc"
{
"$schema" = "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json"; "$schema" = "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json";
logo = { logo = {
type = mkDashDefault "kitty"; type = "kitty";
source = mkDashDefault ../../assets/logo2.png; source = ../../assets/logo2.png;
width = mkDashDefault 35; width = 35;
padding = mkDashDefault { padding = {
top = mkDashDefault 1; top = 1;
}; };
}; };
modules = config.mods.dashfetch.modules; modules = config.mods.dashfetch.modules;