nebula: use the domain names
[julm/julm-nix.git] / home-manager / profiles / gnupg.nix
index 42283fd68817aa830f3609d6985f99ca70a3b828..2db88c9c672b48ef78951a35ff74beac40fb9b86 100644 (file)
@@ -1,4 +1,4 @@
-{ lib, config, nixosConfig, ... }:
+{ pkgs, lib, config, nixosConfig, ... }:
 {
   /*
     home.activation.gnupg = lib.hm.dag.entryAfter ["writeBoundary"] ''
   };
   home.file."${config.programs.gpg.homedir}/dirmngr.conf".text = ''
     allow-ocsp
-    hkp-cacert ${gnupg/keyserver.pem}
-    keyserver hkps://keys.mayfirst.org
+    keyserver hkps://keys.openpgp.org
     #use-tor
     #log-file dirmngr.log
     #standard-resolver
   '';
+  home.packages = lib.mkIf config.programs.gpg.enable [
+    pkgs.pass
+  ];
 }