mirror of https://github.com/wlcx/home.git
gpg: enable ccid on not-darwin
This commit is contained in:
parent
a44510a299
commit
0fbb31defe
|
@ -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;});
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue