a cute system info fetch thingy
- Go 72.7%
- Nix 27.3%
|
|
||
|---|---|---|
| .woodpecker | ||
| assets | ||
| internal | ||
| nix | ||
| .editorconfig | ||
| .envrc | ||
| .gitignore | ||
| example.json | ||
| flake.lock | ||
| flake.nix | ||
| go.mod | ||
| LICENSE | ||
| main.go | ||
| main_test.go | ||
| README.md | ||
cuteff
a cute system info fetch thingy
about
cuteff is a simple system information fetcher written in go. some of the main features are:
- cute and minimal
- super lightweight
- fast af (currently beats even fastfetch)
- no dependencies
- full nix support :3
usage and customization
if you want to try out cuteff, you can use nix to build and run it directly (NixOS/nix#14064 when 😭):
nix run https://codeberg.org/koibtw/cuteff/archive/main.tar.gz
configuration
cuteff can be configured via a config file located at ~/.config/cuteff/config.json.
see the example config for all available options.
installation
nix
home-manager
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
cuteff = {
url = "https://codeberg.org/koibtw/cuteff/archive/main.tar.gz";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, home-manager, cuteff }: {
homeConfigurations."hello" = home-manager.lib.homeManagerConfiguration {
modules = [
home-manager.homeManagerModules.default
cuteff.homeManagerModules.default
{
programs.cuteff = {
enable = true;
settings = {
headerCats = true;
modules = [
{
name = " user";
stat = "username";
}
{
enable = false;
name = " host";
stat = "hostname";
}
{
name = " uptime";
stat = "uptime";
}
{
name = " distro";
stat = "distro";
}
{
name = " kernel";
stat = "kernel";
}
];
};
};
}
];
};
};
}
nixos
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
cuteff = {
url = "https://codeberg.org/koibtw/cuteff/archive/main.tar.gz";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, cuteff }: {
nixosConfigurations.hello = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [{
environment.systemPackages = [ inputs.cuteff.packages.${pkgs.system}.default ];
}];
};
};
}
manual
prerequisites
- go >= 1.25.4
build
git clone https://codeberg.org/koibtw/cuteff.git
cd cuteff
go build
install
mv cuteff /usr/local/bin/