mirror of https://github.com/wlcx/home.git
Compare commits
No commits in common. "6b461995000ccfe46b01191f2375e783e1aded6c" and "a44510a2993c53b5e4f739b028febf59de6b6ba9" have entirely different histories.
6b46199500
...
a44510a299
10
home/gpg.nix
10
home/gpg.nix
|
@ -1,4 +1,4 @@
|
|||
{pkgs, lib, ...}: {
|
||||
{pkgs, ...}: {
|
||||
programs.gpg = {
|
||||
enable = true;
|
||||
mutableKeys = false;
|
||||
|
@ -19,12 +19,6 @@
|
|||
];
|
||||
# make yubikey work on macos? lolgpg
|
||||
# https://github.com/NixOS/nixpkgs/issues/155629
|
||||
scdaemonSettings = (lib.optionalAttrs pkgs.stdenv.isDarwin {disable-ccid = true;});
|
||||
};
|
||||
|
||||
# Shouldn't have an effect on macos, on linux we need to specify a pinentry
|
||||
services.gpg-agent = {
|
||||
enable = true;
|
||||
pinentryFlavor = "qt"; # for plasma
|
||||
scdaemonSettings = {disable-ccid = true;};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue