From c78afecff721a1277c9c9d8389e6bbda7edf4caf Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Wed, 9 Dec 2020 15:37:13 -0500 Subject: [PATCH] add "nix hash" bash alias --- modules/cli.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/cli.nix b/modules/cli.nix index a09aeab..0e83542 100644 --- a/modules/cli.nix +++ b/modules/cli.nix @@ -88,6 +88,7 @@ in alias p=python3 alias tmp='cd $(mktemp -d)' alias buildsys='nix build -f "" --no-link system' + alias sha256sum-base32='nix hash-file --type sha256 --base32' function _update_ps1() { PS1="\n$(${pkgs.powerline-go}/bin/powerline-go ${lib.concatStringsSep " " powerlineOpts})$ "