about summary refs log tree commit diff
path: root/home
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2022-02-14 23:59:17 +0900
committersefidel <contact@sefidel.net>2022-02-14 23:59:17 +0900
commit46715ed381535bdd38e516467e8af4ec74d977d9 (patch)
tree4bf82cdc10050e398526cafa894d6e9e4364455f /home
parent579ba4120118effb79d6d37dd34b620cb0af34e2 (diff)
downloadnixrc-46715ed381535bdd38e516467e8af4ec74d977d9.tar.gz
nixrc-46715ed381535bdd38e516467e8af4ec74d977d9.zip
feat: setup pam-gnupg
Diffstat (limited to 'home')
-rw-r--r--home/profiles/base/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/home/profiles/base/default.nix b/home/profiles/base/default.nix
index 539823c..c27a861 100644
--- a/home/profiles/base/default.nix
+++ b/home/profiles/base/default.nix
@@ -250,6 +250,9 @@ in
         defaultCacheTtlSsh = 3600;
         maxCacheTtl = 86400;
         maxCacheTtlSsh = 86400;
+        extraConfig = ''
+          allow-preset-passphrase
+        '';
       };
 
       swayidle = {
@@ -275,5 +278,9 @@ in
         longitude = "127.2";
       };
     };
+
+    home.file.".pam-gnupg".text = ''
+      77FE99210D6D1175076B284229CE8818A7112C9B
+    '';
   };
 }