mirror from https://codeberg.org/nekohepott/goGoFetch
| ascii | ||
| assets | ||
| .gitattributes | ||
| .gitignore | ||
| default.nix | ||
| flake.lock | ||
| flake.nix | ||
| go.mod | ||
| gomod2nix.toml | ||
| main.go | ||
| README.md | ||
| shell.nix | ||
Build
to build:
go build main.go
to run:
./main
NixOS
credits to melvi for this
to build with nix:
nix build
to run with nix:
nix run
to install with nixos:
- Add to inputs:
goGoFetch.url = "git+https://codeberg.org/nekohepott/goGoFetch";
- Add to packages (system-wide or home-manager):
environment.systemPackages = [
inputs.goGoFetch.packages.${pkgs.system}.default
];
or
home.packages = [
inputs.goGoFetch.packages.${pkgs.system}.default
];
- Run rebuild and then you can run fetch with gogofetch command
Screenshots
it's not faster than melvi's for obvious reasons
