Revert "Remove GPG OnlyKey"
This reverts commit 50d9ebb7c374fd5b7695363672618509cc7a5967.
This commit is contained in:
parent
476c764436
commit
108b191632
2 changed files with 10 additions and 1 deletions
|
@ -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";
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue