gpg: enable ccid on not-darwin

This commit is contained in:
2023-07-17 01:03:11 +01:00
parent a44510a299
commit 0fbb31defe
+2 -2
View File
@@ -1,4 +1,4 @@
{pkgs, ...}: {
{pkgs, lib, ...}: {
programs.gpg = {
enable = true;
mutableKeys = false;
@@ -19,6 +19,6 @@
];
# make yubikey work on macos? lolgpg
# https://github.com/NixOS/nixpkgs/issues/155629
scdaemonSettings = {disable-ccid = true;};
scdaemonSettings = (lib.optionalAttrs pkgs.stdenv.isDarwin {disable-ccid = true;});
};
}