From c0e353eec7354497006b6da10bf10712fa683fb2 Mon Sep 17 00:00:00 2001 From: Anish Lakhwara Date: Mon, 10 Oct 2022 22:34:48 +1000 Subject: [PATCH] make-secret command --- users/profiles/cli/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/users/profiles/cli/default.nix b/users/profiles/cli/default.nix index 2f7c6e93..f9399f5f 100644 --- a/users/profiles/cli/default.nix +++ b/users/profiles/cli/default.nix @@ -191,6 +191,7 @@ paste = "xclip -selection clipboard -o"; rm = "echo USE TRASH, FOOL: trash "; trash = "trash-put"; + make-secret = "< /dev/urandom \\tr -dc _A-Za-z0-9 | head -c \${1:-32};echo;"; # task warrior # TODO: make blocked a context?