Update
This commit is contained in:
parent
1ef5df7b81
commit
61cb8896c8
2 changed files with 5 additions and 5 deletions
|
@ -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'';
|
||||
|
|
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue