[thunderbird] Sign mail with YubiKey
This commit is contained in:
parent
ff9de17d04
commit
6f5815b392
2 changed files with 19 additions and 8 deletions
|
@ -6,12 +6,14 @@ in {
|
|||
options.sisyphus.hardware.yubikey.enable = lib.mkEnableOption "YubiKey support";
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
# Enable smart card reading
|
||||
services.pcscd.enable = true;
|
||||
|
||||
programs.gnupg.agent = {
|
||||
enable = true;
|
||||
pinentryFlavor = "curses";
|
||||
# TODO Necessary?
|
||||
# enableSSHSupport = true;
|
||||
# pinentryFlavor = "curses";
|
||||
};
|
||||
|
||||
# Enable smart card reading
|
||||
services.pcscd.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue