From 1577f066b24406b8acc4afa8b27e68befc64906b Mon Sep 17 00:00:00 2001 From: Armel van Ravels Date: Sun, 1 Feb 2026 21:54:16 +0100 Subject: [PATCH] fastfetch config for zsh init --- programs/fastfetch/config.jsonc | 12 ++++++++++++ programs/zsh.nix | 5 ++++- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 programs/fastfetch/config.jsonc diff --git a/programs/fastfetch/config.jsonc b/programs/fastfetch/config.jsonc new file mode 100644 index 0000000..83ffaca --- /dev/null +++ b/programs/fastfetch/config.jsonc @@ -0,0 +1,12 @@ +{ + "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/master/doc/json_schema.json", + "modules": [ + "os", + "uptime", + "cpu", + "gpu", + "memory", + "swap", + "disk", + ] +} diff --git a/programs/zsh.nix b/programs/zsh.nix index 39add09..b7ff768 100644 --- a/programs/zsh.nix +++ b/programs/zsh.nix @@ -1,6 +1,9 @@ { pkgs, ... }: { + home.file.".zsh/fastfetch.jsonc".source = + ./fastfetch/config.jsonc; + programs.zsh = { enable = true; oh-my-zsh = { @@ -16,7 +19,7 @@ # Run fastfetch if command -v fastfetch >/dev/null 2>&1; then - fastfetch --logo none + fastfetch --logo none --config ~/.zsh/fastfetch.jsonc fi '';