feat(programs): add fastfetch configuration file

This commit is contained in:
uttarayan21
2025-10-31 00:44:16 +05:30
parent 64380acf01
commit bf5077a437
2 changed files with 52 additions and 0 deletions

View File

@@ -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";
};
}