diff options
| author | scouckel <james.krinsky@gmail.com> | 2026-04-02 20:49:34 -0400 |
|---|---|---|
| committer | scouckel <james.krinsky@gmail.com> | 2026-04-02 20:49:34 -0400 |
| commit | 50044b7a87bc9f59452855a96a2013c9b000a0a1 (patch) | |
| tree | c00948706d76ab9b9eceb051c4b1c45d16dc7e3d /modules/packages/fastfetch.nix | |
| parent | eae1e605a04e7e78cac7052a5cc284de5f9ee87f (diff) | |
big work done
Diffstat (limited to 'modules/packages/fastfetch.nix')
| -rw-r--r-- | modules/packages/fastfetch.nix | 92 |
1 files changed, 92 insertions, 0 deletions
diff --git a/modules/packages/fastfetch.nix b/modules/packages/fastfetch.nix new file mode 100644 index 0000000..400d8ea --- /dev/null +++ b/modules/packages/fastfetch.nix @@ -0,0 +1,92 @@ +{ + self, + inputs, + ... +}: { + flake.wrapperModules.fastfetch = { + config, + lib, + ... + }: { + settings = { + logo = { + source = config.pkgs.writeText "tree" '' + * * + * * * + * * * * * + * * * * * + * * * * * * * + * * * * * .# * * + * * * #. .# * * + * "#. #: #" * * * + * * * "#. ##" * + * "### + "## + ##. + .##: + :### + ;### + ,####. + /\/\/\/\/\/.######.\/\/\/\/\ + ''; # ascii art by Joan G. Stark + padding = { + right = 2; + left = 1; + top = 2; + }; + color = { + "1" = "bright_green"; + }; + }; + + display = { + color = "bright_green"; + }; + + modules = [ + "title" + "separator" + { + type = "datetime"; + key = "Date"; + format = "{weekday}, {year}-{month-pretty}-{day-pretty}"; + } + { + type = "datetime"; + key = "Time"; + format = "{hour-pretty}:{minute-pretty}:{second-pretty}, {timezone-name}, UTC{offset-from-utc}"; + } + "uptime" + { + type = "battery"; + key = "Battery"; + format = "{capacity}, {time-formatted} [{status}]"; + } + "separator" + "os" + "host" + "kernel" + "packages" + "shell" + "display" + "wm" + "separator" + "cpu" + "gpu" + "memory" + "swap" + "disk" + "localip" + "break" + "colors" + ]; + }; + }; + + perSystem = {pkgs, ...}: { + packages.fastfetch = inputs.wrapper-modules.wrappers.fastfetch.wrap { + inherit pkgs; + imports = [self.wrapperModules.fastfetch]; + }; + }; +} |
