mirror of
https://github.com/wlcx/home.git
synced 2026-09-20 15:08:23 +01:00
Compare commits
2
Commits
a44510a299
...
6b46199500
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6b46199500 | ||
|
|
0fbb31defe |
+8
-2
@@ -1,4 +1,4 @@
|
||||
{pkgs, ...}: {
|
||||
{pkgs, lib, ...}: {
|
||||
programs.gpg = {
|
||||
enable = true;
|
||||
mutableKeys = false;
|
||||
@@ -19,6 +19,12 @@
|
||||
];
|
||||
# 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;});
|
||||
};
|
||||
|
||||
# Shouldn't have an effect on macos, on linux we need to specify a pinentry
|
||||
services.gpg-agent = {
|
||||
enable = true;
|
||||
pinentryFlavor = "qt"; # for plasma
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user