summary refs log tree commit diff stats
path: root/users/sils/gpg
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-05-04 18:44:33 +0200
committersils <sils@sils.li>2023-05-04 18:44:33 +0200
commit37946f75cb4f7431b116702d2b275fe4c27e7c7a (patch)
treed093c56f86cf23140a7ba13665c9e75de12a044f /users/sils/gpg
parentChore(flake): Update (diff)
downloadnix-config-37946f75cb4f7431b116702d2b275fe4c27e7c7a.tar.gz
nix-config-37946f75cb4f7431b116702d2b275fe4c27e7c7a.zip
Feat(users/sils/gpg): Add gpg
Diffstat (limited to 'users/sils/gpg')
-rw-r--r--users/sils/gpg/default.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/users/sils/gpg/default.nix b/users/sils/gpg/default.nix
new file mode 100644
index 0000000..7c592d0
--- /dev/null
+++ b/users/sils/gpg/default.nix
@@ -0,0 +1,9 @@
+{config, ...}: {
+  programs.gpg = {
+    enable = true;
+    homedir = "${config.xdg.dataHome}/gnupg";
+  };
+  services.gpg-agent = {
+    enable = true;
+  };
+}