This commit is contained in:
albert 2024-05-06 13:14:24 +09:00
parent 1ef5df7b81
commit 61cb8896c8
No known key found for this signature in database
GPG key ID: 64F6C4EB46C4543A
2 changed files with 5 additions and 5 deletions

View file

@ -35,7 +35,7 @@
'';
decrypt = ''
set output $(echo $argv | rev | cut -c16- | rev)
gpg --decrypt --output $output $argv && echo "Decrypted: $argv -> $output"
gpg --decrypt -r $PGP_KEY_ID --output $output $argv && echo "Decrypted: $argv -> $output"
'';
update_secrets = ''
@ -142,8 +142,8 @@
shellAliases = {
# GPG Related
sign = "gpg --armor --clearsign";
verify = "gpg --verify";
sign = "gpg -r $PGP_KEY_ID --armor --clearsign";
verify = "gpg -r $PGP_KEY_ID --verify";
prime-select = "nvidia-offload";
screenshot = ''grim -g "$(slurp)" | wl-copy -t image/png'';

View file

@ -18,8 +18,8 @@
};
programs.fish.shellInit = ''
set SOPS_PGP_FP "4A89D6B44B7E423B647C7AE848FBC3335A26DED6"
set PGP_KEY_ID "48FBC3335A26DED6"
set SOPS_PGP_FP 4A89D6B44B7E423B647C7AE848FBC3335A26DED6
set PGP_KEY_ID 48FBC3335A26DED6
'';
sops = {