Revert "Remove GPG OnlyKey"

This reverts commit 50d9ebb7c374fd5b7695363672618509cc7a5967.
This commit is contained in:
Vili Sinervä 2024-10-17 01:20:15 +03:00
parent 476c764436
commit 108b191632
No known key found for this signature in database
GPG key ID: DF8FEAF54EFAC996
2 changed files with 10 additions and 1 deletions

View file

@ -8,7 +8,7 @@
user = {
email = "vili.m.sinerva@gmail.com";
name = "Vili Sinervä";
signingkey = "/home/vili/.ssh/id_ed25519_sk.pub";
signingkey = "/home/vili/.ssh/id_ed25519.pub";
};
merge = {
ff = "true";

View file

@ -19,8 +19,17 @@
onlykey-cli
onlykey-agent
gpa
];
programs.gnupg.agent = {
enable = true;
pinentryPackage = pkgs.pinentry-curses;
};
hardware.onlykey.enable = true;
environment.variables = {
GNUPGHOME = "~/.gnupg/onlykey";
};
security.pam.u2f.enable = true;
}