summaryrefslogtreecommitdiff
path: root/nixpkgs
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs')
-rw-r--r--nixpkgs/kusanagi.nix18
1 files changed, 10 insertions, 8 deletions
diff --git a/nixpkgs/kusanagi.nix b/nixpkgs/kusanagi.nix
index 17333fe..fc6827d 100644
--- a/nixpkgs/kusanagi.nix
+++ b/nixpkgs/kusanagi.nix
@@ -18,10 +18,6 @@ in {
mklink /Z/lx/Downloads ~/Downloads
mklink /Z/lx/app/openssh ~/.ssh
- mkdir -p ~/.gnupg
- mklink /Z/lx/app/gnupg/pubring.kbx ~/.gnupg/pubring.kbx
- mklink /Z/lx/app/gnupg/trustdb.gpg ~/.gnupg/trustdb.gpg
- mklink /Z/lx/app/gnupg/private-keys-v1.d ~/.gnupg/private-keys-v1.d
mklink /Z/lx/app/cargo ~/.cargo
mklink /Z/lx/app/arduino/Arduino ~/Arduino
@@ -69,10 +65,16 @@ in {
gtk.gtk3.bookmarks = [ "file:///Z/lx" ];
- services.gpg-agent.enable = true;
- services.gpg-agent.enableSshSupport = false;
- services.gpg-agent.pinentryFlavor = "qt";
- services.gpg-agent.extraConfig = "no-allow-external-cache";
+ programs.gpg = {
+ enable = true;
+ homedir = "/Z/lx/app/gnupg";
+ };
+ services.gpg-agent = {
+ enable = true;
+ enableSshSupport = false;
+ pinentryFlavor = "qt";
+ extraConfig = "no-allow-external-cache";
+ };
programs.keychain = {
enable = true;