tweak gpg related code
This commit is contained in:
parent
ff279090e5
commit
eebb87ff14
4 changed files with 14 additions and 5 deletions
|
@ -105,7 +105,7 @@ in
|
|||
|
||||
# Password Management
|
||||
gnupg
|
||||
# yubikey-manager
|
||||
yubikey-manager
|
||||
yubikey-personalization
|
||||
yubikey-personalization-gui
|
||||
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
{ lib, pkgs, ... }:
|
||||
{ lib, pkgs, osConfig, ... }:
|
||||
{
|
||||
home.packages = [ pkgs.gcr ];
|
||||
|
||||
programs.gpg.enable = true;
|
||||
services.gpg-agent = {
|
||||
enable = true;
|
||||
enableScDaemon = true;
|
||||
enableScDaemon = !osConfig.services.pcscd.enable;
|
||||
enableSshSupport = true;
|
||||
grabKeyboardAndMouse = true;
|
||||
pinentryPackage = lib.mkDefault pkgs.pinentry-gtk2;
|
||||
|
|
|
@ -161,6 +161,11 @@
|
|||
];
|
||||
}
|
||||
|
||||
{
|
||||
# yubikey / smartcard. only set to `true` for `ykman piv` commands.
|
||||
services.pcscd.enable = false;
|
||||
}
|
||||
|
||||
# TODO: create syncthing os snippet
|
||||
(
|
||||
let
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue