diff --git a/fish/nix.fish b/fish/nix.fish index f554ed5..c8298dd 100644 --- a/fish/nix.fish +++ b/fish/nix.fish @@ -22,6 +22,11 @@ if test -f $HOME/.ripgreprc set -gx RIPGREP_CONFIG_PATH $HOME/.ripgreprc end +# don't use TPM abrmd +if test -e /dev/tpmrm0 + set -gx TPM2_PKCS11_TCTI device:/dev/tpmrm0 +end + function launch true && $argv & && disown && exit end