fastfetch: fix config

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

View file

@ -57,18 +57,20 @@
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 =
"$schema" = "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json"; (pkgs.formats.json {}).generate "config.jsonc"
logo = { {
type = mkDashDefault "kitty"; "$schema" = "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json";
source = mkDashDefault ../../assets/logo2.png; logo = {
width = mkDashDefault 35; type = "kitty";
padding = mkDashDefault { source = ../../assets/logo2.png;
top = mkDashDefault 1; width = 35;
padding = {
top = 1;
};
}; };
modules = config.mods.dashfetch.modules;
}; };
modules = config.mods.dashfetch.modules;
};
}; };
}; };
} }