wfetch is an opinionated command-line fetch tool for displaying system information in a pretty way. It is written in Rust and is a wrapper around fastfetch.
Add wfetch to your inputs in your flake.nix:
{ inputs.wfetch.url = "github:iynaix/wfetch"; }A wfetch cachix is also available, providing prebuilt binaries. To use it, add the following to your configuration:
{ nix.settings = { substituters = ["https://wfetch.cachix.org"]; trusted-public-keys = ["wfetch.cachix.org-1:lFMD3l0uT/M4+WwqUXpmPAm2kvEH5xFGeIld1av0kus="]; }; }Warning
Overriding the wfetch input using a inputs.nixpkgs.follows invalidates the cache and will cause the package to be rebuilt.
Then, include it in your environment.systemPackages or home.packages by referencing the input:
inputs.wfetch.packages.${pkgs.system}.defaultAlternatively, it can also be run directly:
nix run github:iynaix/wfetch$ wfetch --help wfetch is an opinionated command-line fetch tool for displaying system information in a pretty way Usage: wfetch [OPTIONS] Options: --hollow Show hollow NixOS logo --smooth Show NixOS logo with smooth edges --waifu Show waifu NixOS logo with dynamic colors --waifu2 Show waifu NixOS logo 2 with dynamic colors --wallpaper [<WALLPAPER>] Show section of wallpaper, use "-" for stdin (supported backends: swww, swaybg, hyprpaper, gnome, cinnamon, mate) --crop <CROP_AREA> Specify square area of the wallpaper to display in the format WxH+X+Y --wallpaper-ascii [<WALLPAPER>] Show section of wallpaper in ascii, use "-" for stdin (supported backends: swww, swaybg, hyprpaper, gnome, cinnamon, mate) [aliases: ascii-wallpaper, ascii] --challenge Show challenge progress --challenge-timestamp <TIMESTAMP> Start of the challenge as a UNIX timestamp in seconds [default: 1675821503] --challenge-years <YEARS> Duration of challenge in years [default: 10] --challenge-months <MONTHS> Duration of challenge in months [default: 0] --challenge-type <CHALLENGE_TYPE> Type of the challenge, e.g. emacs --listen Listen for SIGUSR2 to refresh output [aliases: socket] --no-color-keys Do not show colored keys --image-size <IMAGE_SIZE> Image size in pixels --ascii-size <ASCII_SIZE> Ascii size in characters [default: 70] --scale <SCALE> Scale factor for high DPI displays -h, --help Print help (see a summary with '-h') -V, --version Print versionTo build wfetch from source
- Build dependencies
- Rust (cargo, rustc)
- Runtime dependencies
Just use nix develop






