From 940fb3ed2e6f952b8346a45caec75de73940a453 Mon Sep 17 00:00:00 2001 From: kenji Date: Sun, 28 Dec 2025 15:15:37 -0600 Subject: [PATCH] add(fastfetch): mandatory --- apps/fastfetch/arch.txt | 14 ++++++++++ apps/fastfetch/home.nix | 59 +++++++++++++++++++++++++++++++++++++++ modules/home/terminal.nix | 1 + 3 files changed, 74 insertions(+) create mode 100644 apps/fastfetch/arch.txt create mode 100644 apps/fastfetch/home.nix diff --git a/apps/fastfetch/arch.txt b/apps/fastfetch/arch.txt new file mode 100644 index 0000000..481b73c --- /dev/null +++ b/apps/fastfetch/arch.txt @@ -0,0 +1,14 @@ + ​ ⣇⣿⠘⣿⣿⣿⡿⡿⣟⣟⢟⢟⢝⠵⡝⣿⡿⢂⣼⣿⣷⣌⠩⡫⡻⣝⠹⢿⣿⣷ + ​ ⡆⣿⣆⠱⣝⡵⣝⢅⠙⣿⢕⢕⢕⢕⢝⣥⢒⠅⣿⣿⣿⡿⣳⣌⠪⡪⣡⢑⢝⣇ + ​ ⡆⣿⣿⣦⠹⣳⣳⣕⢅⠈⢗⢕⢕⢕⢕⢕⢈⢆⠟⠋⠉⠁⠉⠉⠁⠈⠼⢐⢕⢽ + ​ ⡗⢰⣶⣶⣦⣝⢝⢕⢕⠅⡆⢕⢕⢕⢕⢕⣴⠏⣠⡶⠛⡉⡉⡛⢶⣦⡀⠐⣕⢕ + ​ ⡝⡄⢻⢟⣿⣿⣷⣕⣕⣅⣿⣔⣕⣵⣵⣿⣿⢠⣿⢠⣮⡈⣌⠨⠅⠹⣷⡀⢱⢕ + ​ ⡝⡵⠟⠈⢀⣀⣀⡀⠉⢿⣿⣿⣿⣿⣿⣿⣿⣼⣿⢈⡋⠴⢿⡟⣡⡇⣿⡇⡀⢕ + ​ ⡝⠁⣠⣾⠟⡉⡉⡉⠻⣦⣻⣿⣿⣿⣿⣿⣿⣿⣿⣧⠸⣿⣦⣥⣿⡇⡿⣰⢗⢄ + ​ ⠁⢰⣿⡏⣴⣌⠈⣌⠡⠈⢻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣬⣉⣉⣁⣄⢖⢕⢕⢕ + ​ ⡀⢻⣿⡇⢙⠁⠴⢿⡟⣡⡆⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣵⣵⣿ + ​ ⡻⣄⣻⣿⣌⠘⢿⣷⣥⣿⠇⣿⣿⣿⣿⣿⣿⠛⠻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿ + ​ ⣷⢄⠻⣿⣟⠿⠦⠍⠉⣡⣾⣿⣿⣿⣿⣿⣿⢸⣿⣦⠙⣿⣿⣿⣿⣿⣿⣿⣿⠟ + ​ ⡕⡑⣑⣈⣻⢗⢟⢞⢝⣻⣿⣿⣿⣿⣿⣿⣿⠸⣿⠿⠃⣿⣿⣿⣿⣿⣿⡿⠁⣠ + ​ ⡝⡵⡈⢟⢕⢕⢕⢕⣵⣿⣿⣿⣿⣿⣿⣿⣿⣿⣶⣶⣿⣿⣿⣿⣿⠿⠋⣀⣈⠙ + ​ ⡝⡵⡕⡀⠑⠳⠿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⠛⢉⡠⡲⡫⡪⡪⡣ diff --git a/apps/fastfetch/home.nix b/apps/fastfetch/home.nix new file mode 100644 index 0000000..cb8ab62 --- /dev/null +++ b/apps/fastfetch/home.nix @@ -0,0 +1,59 @@ +{pkgs, ...}: { + programs.fastfetch = { + enable = true; + settings = { + "$schema" = "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json"; + logo = { + source = "~/.config/fastfetch/arch.txt"; + padding = { + top = 1; + }; + }; + display = { + separator = " "; + }; + modules = [ + "break" + "break" + "title" + { + type = "os"; + key = "os "; + keyColor = "33"; + } + { + type = "kernel"; + key = "kernel"; + keyColor = "33"; + } + { + type = "host"; + format = "{5} {1}"; + key = "host "; + keyColor = "33"; + } + { + type = "packages"; + format = "{} (nix)"; + key = "pkgs "; + keyColor = "33"; + } + { + type = "cpu"; + format = " {2}"; + key = "cpu"; + keyColor = "33"; + } + { + type = "memory"; + key = "memory"; + keyColor = "33"; + } + "break" + "break" + ]; + }; + }; + + home.file.".config/fastfetch/arch.txt".source = ./arch.txt; +} diff --git a/modules/home/terminal.nix b/modules/home/terminal.nix index 8f31c2a..645f9ba 100644 --- a/modules/home/terminal.nix +++ b/modules/home/terminal.nix @@ -5,5 +5,6 @@ ../../apps/zoxide/home.nix ../../apps/fish/home.nix ../../apps/ghostty/home.nix + ../../apps/fastfetch/home.nix ]; }