mirror of
https://github.com/artagaz/nix-config.git
synced 2026-06-23 02:05:45 +07:00
68 lines
1.5 KiB
Nix
68 lines
1.5 KiB
Nix
{
|
|
flake.nixosModules.fastfetch = {
|
|
home-manager.users.matthew.imports = [
|
|
{
|
|
programs.fastfetch = {
|
|
enable = true;
|
|
settings = {
|
|
"$schema" = "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json";
|
|
display = {
|
|
size = {
|
|
maxPrefix = "MB";
|
|
ndigits = 0;
|
|
spaceBeforeUnit = "never";
|
|
};
|
|
freq = {
|
|
ndigits = 3;
|
|
spaceBeforeUnit = "never";
|
|
};
|
|
};
|
|
modules = [
|
|
"title"
|
|
"separator"
|
|
"os"
|
|
{
|
|
type = "kernel";
|
|
format = "{release}";
|
|
}
|
|
"uptime"
|
|
{
|
|
type = "packages";
|
|
combined = true;
|
|
}
|
|
"shell"
|
|
{
|
|
type = "display";
|
|
compactTpe = "original";
|
|
key = "Resolution";
|
|
}
|
|
"de"
|
|
"wm"
|
|
"wmtheme"
|
|
"theme"
|
|
"icons"
|
|
"terminal"
|
|
{
|
|
type = "terminalfont";
|
|
format = "{/name}{-}{/}{name}{?size} {size}{?}";
|
|
}
|
|
"cpu"
|
|
{
|
|
type = "gpu";
|
|
key = "GPU";
|
|
format = "{name}";
|
|
}
|
|
{
|
|
type = "memory";
|
|
format = "{used} / {total}";
|
|
}
|
|
"break"
|
|
"colors"
|
|
];
|
|
};
|
|
};
|
|
}
|
|
];
|
|
};
|
|
}
|