diff --git a/README.md b/README.md index 9be1177..5d82a7d 100644 --- a/README.md +++ b/README.md @@ -16,3 +16,21 @@ doas nixos-rebuild switch --flake ".#mrmeeseeks" nix flake update doas nixos-rebuild switch --flake ".#mrmeeseeks" ``` + +## Update manual packages from github + +Somes of module use `fetchFromGithub` who need *SHA-256* hash to meet +reproductibility. Theses hashed can be obtain with `nix-prefetch-github`: + +```shell +$ nix-shell -p nix-prefetch-github +$ nix-prefetch-ghithub --rev v1.22.0 sindresorhus pure +{ + "owner": "sindresorhus", + "repo": "pure", + "rev": "87e6f5dd4c793f6d980532205aaefe196780606f", + "sha256": "TR4CyBZ+KoZRs9XDmWE5lJuUXXU1J8E2Z63nt+FS+5w=" +} +``` + +In this example whe have obtained the hash for the specific 1.22.0 version. diff --git a/modules/home-manager/cli/vifm/files/vifmrc b/modules/home-manager/cli/vifm/files/vifmrc index d946abf..cb0a727 100644 --- a/modules/home-manager/cli/vifm/files/vifmrc +++ b/modules/home-manager/cli/vifm/files/vifmrc @@ -173,7 +173,8 @@ fileviewer {*.pdf}, pdftotext -nopgbrk %c - filetype {*.pdf}, \ xdg-open fileviewer {*.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm}, - \ chafa -f sixel -s %pwx%ph %c:p %pd %N 2>/dev/null + \ chafa -f sixel --polite on -s %pwx%ph --animate off %c + \ %pd %N filetype {*.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm}, \ xdg-open fileviewer *.zip,*.jar,*.war,*.ear,*.oxt tar -tf %f