diff options
author | Alex Auvolat <alex@adnab.me> | 2023-11-06 11:13:49 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-11-06 11:13:49 +0100 |
commit | 3737018d07f5f977c8c9412343ed4fae84dc014b (patch) | |
tree | eacc0716599f67d0924ee4aa0da45573ba85c8b5 /nixpkgs/kusanagi.nix | |
parent | 420a1e3afb8c3ef4821f34fe8bf4a747e7a9da28 (diff) | |
download | user-config-3737018d07f5f977c8c9412343ed4fae84dc014b.tar.gz user-config-3737018d07f5f977c8c9412343ed4fae84dc014b.zip |
kusanagi: better gpg config
Diffstat (limited to 'nixpkgs/kusanagi.nix')
-rw-r--r-- | nixpkgs/kusanagi.nix | 18 |
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; |