Various GPG updates

This commit is contained in:
albert 2024-06-29 13:31:11 +09:00
parent cc5f75e13c
commit 37ca0d558c
Signed by: albert
GPG key ID: 3895DD267CA11BA9
3 changed files with 6 additions and 1 deletions

View file

@ -134,6 +134,10 @@
} }
''; '';
shellAliases = { shellAliases = {
# GPG Related
sign = "gpg -u $PGP_KEY_ID --armor --detach-sig";
verify = "gpg -u $PGP_KEY_ID --verify";
prime-select = "nvidia-offload"; prime-select = "nvidia-offload";
screenshot = ''grim -g "$(slurp)" | wl-copy -t image/png''; screenshot = ''grim -g "$(slurp)" | wl-copy -t image/png'';

View file

@ -110,7 +110,7 @@
shellAliases = { shellAliases = {
# GPG Related # GPG Related
sign = "gpg -u $PGP_KEY_ID --armor --clearsign"; sign = "gpg -u $PGP_KEY_ID --armor --detach-sig";
verify = "gpg -u $PGP_KEY_ID --verify"; verify = "gpg -u $PGP_KEY_ID --verify";
prime-select = "nvidia-offload"; prime-select = "nvidia-offload";

View file

@ -13,6 +13,7 @@
programs.bash.sessionVariables = { programs.bash.sessionVariables = {
# SOPS comma delimited list of GPG keys allowed to edit files # SOPS comma delimited list of GPG keys allowed to edit files
SOPS_PGP_FP = "4A89D6B44B7E423B647C7AE848FBC3335A26DED6"; SOPS_PGP_FP = "4A89D6B44B7E423B647C7AE848FBC3335A26DED6";
PGP_KEY_ID = "48FBC3335A26DED6";
}; };
programs.fish.shellInit = '' programs.fish.shellInit = ''