From 61cb8896c8b41a4888780debc4aa606c82e60854 Mon Sep 17 00:00:00 2001 From: albert Date: Mon, 6 May 2024 13:14:24 +0900 Subject: [PATCH] Update --- home-manager/common/software/cli/fish.nix | 6 +++--- home-manager/users/albert/default.nix | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/home-manager/common/software/cli/fish.nix b/home-manager/common/software/cli/fish.nix index 86317bc3..6b89c363 100644 --- a/home-manager/common/software/cli/fish.nix +++ b/home-manager/common/software/cli/fish.nix @@ -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''; diff --git a/home-manager/users/albert/default.nix b/home-manager/users/albert/default.nix index d8f7fc8c..5c152fb3 100644 --- a/home-manager/users/albert/default.nix +++ b/home-manager/users/albert/default.nix @@ -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 = {