Pass, gnupg
This commit is contained in:
parent
2f388d2114
commit
e0a2304dcc
3 changed files with 25 additions and 0 deletions
12
nixos/modules/gnupg/default.nix
Normal file
12
nixos/modules/gnupg/default.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{ pkgs,... }:
|
||||
{
|
||||
programs.gnupg.agent = {
|
||||
enable = true;
|
||||
settings = {
|
||||
pinentry-program = lib.mkForce "${pkgs.pinentry-curses}/bin/pinentry-curses";
|
||||
};
|
||||
};
|
||||
environment.systemPackages = with pkgs;[
|
||||
(pass.withExtensions (exts: with exts;[pass-otp]))
|
||||
];
|
||||
}
|
||||
|
|
@ -18,6 +18,7 @@
|
|||
"nixos-config"
|
||||
"blender"
|
||||
".gnupg"
|
||||
".password-store"
|
||||
".ssh"
|
||||
".emacs.d"
|
||||
".local/share/keyrings"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue