summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-11-15 21:08:03 +0100
committersils <sils@sils.li>2023-11-15 21:08:03 +0100
commitc6b4ba507081e5e72da4a54d4cd390b474f63279 (patch)
tree3aed014d08fba0fb5d615a97d542859e7a68cf79
parentfix(u/sils): change default signing key (diff)
downloadnix-config-c6b4ba507081e5e72da4a54d4cd390b474f63279.tar.gz
nix-config-c6b4ba507081e5e72da4a54d4cd390b474f63279.zip
feat(u/sils): switch to gpg-agent
-rw-r--r--users/sils/gpg/default.nix2
-rw-r--r--users/sils/ssh/default.nix2
2 files changed, 3 insertions, 1 deletions
diff --git a/users/sils/gpg/default.nix b/users/sils/gpg/default.nix
index a48f08c..b539a5a 100644
--- a/users/sils/gpg/default.nix
+++ b/users/sils/gpg/default.nix
@@ -6,5 +6,7 @@
   services.gpg-agent = {
     enable = true;
     pinentryFlavor = "gtk2";
+    enableSshSupport = true;
+    sshKeys = ["&4077454831C98FE4BE4A9C167186C5A63615B790"];
   };
 }
diff --git a/users/sils/ssh/default.nix b/users/sils/ssh/default.nix
index 8af64e2..3e255b7 100644
--- a/users/sils/ssh/default.nix
+++ b/users/sils/ssh/default.nix
@@ -1,3 +1,3 @@
 {...}: {
-  services.ssh-agent.enable = true;
+  services.ssh-agent.enable = false;
 }