A ๐ is buzzing
Static Linux binaries (amd64, 386, arm64, armv7, armv6) are attached to every release.
cargo build --release
# binary: target/release/beefetchnix run github:mirdukkkkk/beefetch
nix develop # dev shell with cargo, clippy, rustfmt, rust-analyzer, hyperfine# flake inputs
beefetch.url = "github:mirdukkkkk/beefetch";
# home configuration
imports = [ inputs.beefetch.homeModules.default ];
programs.beefetch = {
enable = true;
settings = {
fields = [ "os" "kernel" "uptime" "ram" "wm" "server" ];
color = true;
};
};The package is built from your own pkgs, so it does not pull in a second nixpkgs.
beefetch [-n] [-f LIST] [-c PATH]
-n, --no-color Disable ANSI colors (also NO_COLOR=1)
-f, --fields LIST Fields to show, in order: os, kernel, uptime, ram, wm, server
-c, --config PATH Config file (also BEEFETCH_CONFIG)
$XDG_CONFIG_HOME/beefetch/config (usually ~/.config/beefetch/config):
# fields to show, in order
fields = os, kernel, uptime, ram, wm, server
color = true
Command-line flags override the config.
| Go v2 | Rust v3 | |
|---|---|---|
| Binary size | 2.1 MB | 316 KB |
Startup (hyperfine -N) |
1.5 ms | 0.66 ms |
