summary refs log tree commit diff stats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--users/sils/default.nix5
-rw-r--r--users/sils/gpg/default.nix9
2 files changed, 13 insertions, 1 deletions
diff --git a/users/sils/default.nix b/users/sils/default.nix
index 5240fa9..c5fa572 100644
--- a/users/sils/default.nix
+++ b/users/sils/default.nix
@@ -3,7 +3,10 @@
   system,
   ...
 }: {
-  imports = [./packages];
+  imports = [
+    ./packages
+    ./gpg
+  ];
 
   home = {
     username = "sils";
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;
+  };
+}