gpg: enable agent

This commit is contained in:
Sam W 2023-07-17 01:32:22 +01:00
parent 0fbb31defe
commit 6b46199500
1 changed files with 6 additions and 0 deletions

View File

@ -21,4 +21,10 @@
# https://github.com/NixOS/nixpkgs/issues/155629
scdaemonSettings = (lib.optionalAttrs pkgs.stdenv.isDarwin {disable-ccid = true;});
};
# Shouldn't have an effect on macos, on linux we need to specify a pinentry
services.gpg-agent = {
enable = true;
pinentryFlavor = "qt"; # for plasma
};
}