From c2127e00474d9e934b67fcc3316f804e7a6eae32 Mon Sep 17 00:00:00 2001 From: DashieTM Date: Mon, 19 May 2025 20:41:37 +0200 Subject: [PATCH] fastfetch: fix config --- modules/programs/fastfetch.nix | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/modules/programs/fastfetch.nix b/modules/programs/fastfetch.nix index 71b6218..52366e7 100644 --- a/modules/programs/fastfetch.nix +++ b/modules/programs/fastfetch.nix @@ -57,18 +57,20 @@ config = lib.optionalAttrs (options ? home.packages) { xdg.configFile."fastfetch/config.jsonc" = lib.mkIf (config.mods.dashfetch.enable) { - source = (pkgs.formats.json {}).generate "config.jsonc" { - "$schema" = "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json"; - logo = { - type = mkDashDefault "kitty"; - source = mkDashDefault ../../assets/logo2.png; - width = mkDashDefault 35; - padding = mkDashDefault { - top = mkDashDefault 1; + source = + (pkgs.formats.json {}).generate "config.jsonc" + { + "$schema" = "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json"; + logo = { + type = "kitty"; + source = ../../assets/logo2.png; + width = 35; + padding = { + top = 1; + }; }; + modules = config.mods.dashfetch.modules; }; - modules = config.mods.dashfetch.modules; - }; }; }; }