blob: 94eccab5081b164685fcc5c1764de86b09d82ade (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
{lib, config, ...}: {
options.fastfetch.enable = lib.mkEnableOption "fastfetch config";
config = lib.mkIf config.fastfetch.enable {
programs.fastfetch = {
enable = true;
settings = {
display = {
size = {
maxPrefix = "MB";
ndigits = 0;
spaceBeforeUnit = "never";
};
freq = {
ndigits = 3;
spaceBeforeUnit = "never";
};
};
modules = [
"title"
"separator"
"os"
{
type = "kernel";
format = "{release}";
}
{
type = "packages";
combined = true;
}
"shell"
{
type = "display";
compactType = "original";
key = "Resolution";
}
"de"
"wm"
"terminal"
"cpu"
{
type = "gpu";
key = "GPU";
format = "{name}";
}
{
type = "memory";
format = "{used} / {total}";
}
"break"
"colors"
];
};
};
};
}
|