this is a rewrite of https://github.com/Wunkolo/vkfetch
I referenced the code and copied the ASCII art from it
thanks to wunkolo for writing the original
I rewrote it because I wanted to have vkfetch on an easy to access package manager and wanted to extend it
I believe we now have feature parity with the original vkfetch + some extra info not present in the original
environment.systemPackages = [
pkgs.vulkan-loader
];
nix-shell -p vulkan-loader
nix-env -iA nixos.vulkan-loader
wget -qO- https://packages.lunarg.com/lunarg-signing-key-pub.asc | sudo tee /etc/apt/trusted.gpg.d/lunarg.asc
sudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-noble.list http://packages.lunarg.com/vulkan/lunarg-vulkan-noble.list
sudo apt update
sudo apt install vulkan-sdk
or
sudo apt update
sudo apt install vulkan-sdk
brew install vulkan-loader
check your own package managers or
https://vulkan.lunarg.com/sdk/home#linux
https://vulkan.lunarg.com/sdk/home
cargo install vkfetch-rs
if you use nix then you can use my flake nix develop
git clone https://github.com/float3/vkfetch-rs
cd vkfetch-rs
cargo build
don't do ansi codes if stdout is a file