From bf5077a43749a7494d3e3a0b7b9dd5c6f91b3630 Mon Sep 17 00:00:00 2001 From: uttarayan21 Date: Fri, 31 Oct 2025 00:44:16 +0530 Subject: [PATCH] feat(programs): add fastfetch configuration file --- home/programs/default.nix | 1 + home/programs/fastfetch.nix | 51 +++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 home/programs/fastfetch.nix diff --git a/home/programs/default.nix b/home/programs/default.nix index 1d9b7280..f46db4cf 100644 --- a/home/programs/default.nix +++ b/home/programs/default.nix @@ -13,6 +13,7 @@ ./ddcbacklight.nix ./direnv.nix ./eza.nix + ./fastfetch.nix ./fish.nix ./fzf.nix ./gh.nix diff --git a/home/programs/fastfetch.nix b/home/programs/fastfetch.nix new file mode 100644 index 00000000..47872c5a --- /dev/null +++ b/home/programs/fastfetch.nix @@ -0,0 +1,51 @@ +{ + pkgs, + lib, + device, + config, + ... +}: let + nextcloudWallpapers = name: config.home.homeDirectory + "/Nextcloud/Wallpapers/" + name; +in { + programs = { + fastfetch = { + enable = true; + settings = { + logo = lib.mkIf (device.is "ryu") { + source = nextcloudWallpapers "hornet.png"; + width = 70; + }; + modules = [ + "title" + "separator" + "os" + "host" + "kernel" + "uptime" + "packages" + "shell" + "display" + "de" + "wm" + "wmtheme" + "theme" + "icons" + "cursor" + "terminal" + "terminalfont" + "cpu" + "gpu" + "memory" + "swap" + "disk" + "battery" + "poweradapter" + "locale" + "break" + "colors" + ]; + }; + }; + fish.shellAbbrs.ff = "fastfetch"; + }; +}