fastfetch created

This commit is contained in:
foglar 2025-02-11 19:44:50 +01:00
parent 929425ff20
commit 649ebb311a
6 changed files with 52 additions and 0 deletions

BIN
config/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 340 KiB

View File

@ -35,6 +35,7 @@
# Configured programs to enable
program = {
fastfetch.enable = true;
kitty.enable = true;
tmux.enable = true;
zoxide.enable = true;

View File

@ -24,6 +24,7 @@
./tools/oh-my-posh.nix
./tools/shell.nix
./tools/kitty.nix
./tools/fastfetch.nix
./tools/tmux.nix
./tools/zoxide.nix
./tools/ranger.nix
@ -58,6 +59,7 @@
sh.oh-my-posh.enable = lib.mkDefault true;
program = {
fastfetch.enable = lib.mkDefault false;
kitty.enable =
if userSettings.terminal == "kitty"
then lib.mkDefault true

View File

@ -0,0 +1,47 @@
{
lib,
config,
...
}: {
options = {
program.fastfetch.enable = lib.mkEnableOption "fastfetch";
};
config = lib.mkIf config.program.fastfetch.enable {
home.file = {
".config/fastfetch/logo.png".source = ../../../../config/logo.png;
};
programs.fastfetch = {
enable = true;
settings = {
"$schema" = "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json";
"logo" = {
"source" = "/home/shinya/.config/fastfetch/logo.png";
"width" = 30;
"height" = 18;
};
"modules" = [
"break"
"title"
"separator"
"os"
"host"
"kernel"
"uptime"
"packages"
"shell"
"de"
"wm"
"icons"
"font"
"cursor"
"terminalfont"
"cpu"
"gpu"
"disk"
];
};
};
};
}

View File

@ -9,6 +9,7 @@
ll = "${pkgs.eza}/bin/eza -alh --icons";
l = "${pkgs.eza}/bin/eza -lh --icons=auto";
tree = "${pkgs.eza}/bin/eza --tree --icons";
neofetch = "${pkgs.fastfetch}/bin/fastfetch";
open = "rifle";
ip = "ip -c";
s = "kitten ssh";

View File

@ -19,6 +19,7 @@
sh.oh-my-posh.enable = true;
program = {
fastfetch.enable = true;
tmux.enable = true;
zoxide.enable = true;
git.enable = true;