gpg: enable ccid on not-darwin

This commit is contained in:
Sam W 2023-07-17 00:58:59 +01:00
parent a44510a299
commit 0fbb31defe
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
{pkgs, ...}: { {pkgs, lib, ...}: {
programs.gpg = { programs.gpg = {
enable = true; enable = true;
mutableKeys = false; mutableKeys = false;
@ -19,6 +19,6 @@
]; ];
# make yubikey work on macos? lolgpg # make yubikey work on macos? lolgpg
# https://github.com/NixOS/nixpkgs/issues/155629 # https://github.com/NixOS/nixpkgs/issues/155629
scdaemonSettings = {disable-ccid = true;}; scdaemonSettings = (lib.optionalAttrs pkgs.stdenv.isDarwin {disable-ccid = true;});
}; };
} }