mv fastfetch to hm module
nix flake show / show-flake (push) Successful in 45s

This commit is contained in:
smayzy
2025-07-29 19:48:41 +02:00
parent 614a10248f
commit 12b0f8e27a
6 changed files with 22 additions and 5 deletions
+6
View File
@@ -0,0 +1,6 @@
{ ... }:
{
imports = [
./fastfetch.nix
];
}
+15
View File
@@ -0,0 +1,15 @@
{ lib, smayzy, ... }:
let
inherit (lib) mkIf;
in
{
config = mkIf smayzy.base-cli-pkgs.enable {
home.file = {
".config/fastfetch" = {
source = builtins.toPath ./fastfetch;
recursive = true;
force = true;
};
};
};
}
@@ -0,0 +1,106 @@
{
"$schema": "https://github.com/fastfetch-cli/fastfetc h/raw/dev/doc/json_schema.json",
"logo": {
"type": "kitty-direct",
"source": "~/.config/fastfetch/stylish-reyna.png",
"width": 38,
"height": 19
},
"display": {
"separator": "  ",
"color": "white"
},
"modules": [
{
"type": "title",
"key":" USER AT",
"keyColor": "green",
"color": {
"user": "green",
"at": "white",
"host": "blue"
}
},
//system :
"break",
{
"type": "custom",
"format": "\u001b[90m╭──────────────────────SYSTEM──────────────────────╮"
//'\u001b[90m' is for color
},
{
"type": "os",
"key": "╭─ OS",
"keyColor": "cyan"
},
{
"type": "kernel",
"key": "├─ KERNEL",
"keyColor": "yellow"
},
{
"type": "uptime",
"key": "├─ UPTIME",
"keyColor": "green"
},
{
"type": "packages",
"key": "├─ PACKAGES",
"keyColor": "blue"
},
{
"type": "shell",
"key": "├─ SHELL",
"keyColor": "magenta"
},
{
"type": "wm",
"key": "├─ WINDOW MANAGER",
"keyColor": "red"
},
{
"type": "terminal",
"key": "╰─ TERMINAL",
"keyColor": "magenta"
},
"break",
//resources :
{
"type": "custom",
"format": "\u001b[90m╭────────────────────────────────RESOURCES─────────────────────────────────╮"
//'\u001b[90m' is for color
},
{
"type": "cpu",
"key": "╭─ CPU",
"keyColor": "cyan"
},
{
"type": "gpu",
"key": "├─󰘚 GPU",
"keyColor": "yellow"
},
{
"type": "memory",
"key": "├─ MEMORY",
"keyColor": "green"
},
{
"type": "swap",
"key": "├─ SWAP",
"keyColor": "blue"
},
{
"type": "disk",
"key": "╰─ DISK",
"keyColor": "magenta"
},
"break"
// "colors"
]
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

+1
View File
@@ -1,6 +1,7 @@
{ ... }:
{
imports = [
./cli
./lf
./notif
./terminal