Commit 8aba896
Changed files (2)
modules
core
tools
hosts
chaser-kevin
home
modules/core/tools/fastfetch.nix
@@ -2,34 +2,97 @@
flake.modules.nixos.core = {pkgs, ...}: {
environment.systemPackages = [pkgs.fastfetch];
};
+
flake.modules.homeManager.core = _: {
programs.fastfetch = {
enable = true;
settings = {
+ logo = {
+ type = "auto";
+ };
+ display.separator = " ";
modules = [
"title"
- "separator"
- "os"
- "host"
- "kernel"
- "uptime"
- "shell"
- "display"
- "de"
- "wm"
- "font"
- "terminal"
- "cpu"
- "gpu"
- "memory"
- "swap"
- "disk"
- "localip"
- "battery"
- "poweradapter"
- "locale"
- "break"
- "colors"
+ {
+ key = "╔══ System ════╗";
+ type = "custom";
+ }
+ {
+ key = "║ {#31}{icon} distro {#keys}║";
+ type = "os";
+ format = "{?pretty-name}{pretty-name}{?}{/pretty-name}{name}{/} {#2}[{arch}]";
+ }
+ {
+ key = "║ {#31} kernel {#keys}║";
+ type = "kernel";
+ format = "{sysname} {#2}[v{release}]";
+ }
+ {
+ key = "║ {#31} uptime {#keys}║";
+ type = "uptime";
+ format = "{?days}{days} Days + {?}{hours}:{minutes}:{seconds}";
+ }
+ {
+ key = "╠══ Desktop ═══╣";
+ type = "custom";
+ }
+ {
+ key = "║ {#32} de/wm {#keys}║";
+ type = "wm";
+ }
+ {
+ key = "║ {#32} terminal {#keys}║";
+ type = "terminal";
+ format = "{pretty-name} {#2}[v{version}]";
+ }
+ {
+ key = "║ {#32} shell {#keys}║";
+ type = "shell";
+ format = "{pretty-name} {#2}[v{version}]";
+ }
+ {
+ key = "╠══ Hardware ══╣";
+ type = "custom";
+ }
+ {
+ key = "║ {#33} machine {#keys}║";
+ type = "host";
+ format = "{name} {#2}{version}";
+ }
+ {
+ key = "║ {#33} cpu {#keys}║";
+ type = "cpu";
+ format = "{name} {#2}[{freq-max}]";
+ }
+ {
+ key = "║ {#33} gpu {#keys}║";
+ type = "gpu";
+ detectionMethod = "auto";
+ format = "{name} {#2}[{type}]";
+ }
+ {
+ key = "║ {#33} memory {#keys}║";
+ type = "memory";
+ format = "{used} / {total} ({percentage})";
+ }
+ {
+ key = "║ {#33} disk {#keys}║";
+ type = "disk";
+ format = "{size-used} / {size-total} ({size-percentage}) {#2}[{filesystem}]";
+ }
+ {
+ key = "╠══════════════╣";
+ type = "custom";
+ }
+ {
+ key = "║ {#34} colors {#keys}║";
+ type = "colors";
+ symbol = "circle";
+ }
+ {
+ key = "╚══════════════╝";
+ type = "custom";
+ }
];
};
};
modules/hosts/chaser-kevin/home/default.nix
@@ -4,11 +4,11 @@
...
}: {
flake.modules.homeManager."hosts/kevin" = {config, ...}: {
- programs.fastfetch.settings.logo = lib.mkIf config.programs.fastfetch.enable {
+ programs.fastfetch.settings.logo = lib.mkIf config.programs.fastfetch.enable (lib.mkForce {
type = "kitty-direct";
source = "${inputs.nixos-logo}/nixos-griseo.png";
- height = 15;
- width = 32;
- };
+ width = 28;
+ height = 14;
+ });
};
}