Set up GPG and Pass

This commit is contained in:
Trevor Vallender 2023-04-28 20:22:01 +01:00
parent 348bb76b20
commit 32e15246cc
3 changed files with 18 additions and 0 deletions

View File

@ -89,12 +89,19 @@ in
pkgs.tmux
pkgs.git
pkgs.pciutils
pkgs.pinentry-curses
pkgs.xdg-desktop-portal
pkgs.xdg-desktop-portal-gtk
pkgs.xdg-desktop-portal-kde
inputs.devenv.packages.x86_64-linux.devenv
];
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
pinentryFlavor = "curses";
};
environment.variables.LC_ALL = "en_GB.UTF-8";

View File

@ -0,0 +1,6 @@
debug-pinentry
debug ipc
verbose
enable-ssh-support
pinentry-program /run/current-system/sw/bin/pinentry-curses

View File

@ -52,6 +52,10 @@
microsoft-edge
nerdfonts
pandoc
(pass.withExtensions (exts: [
exts.pass-import
exts.pass-otp
]))
pavucontrol
polkit-kde-agent
pspg
@ -123,6 +127,7 @@
home.file.".tmux.conf".source = ./tmux.conf;
home.file.".psqlrc".source = ./psqlrc;
home.file.".w3m/config".source = ./w3m/config;
home.file.".gnupg/gpg-agent.conf".source = ./gnupg/gpg-agent.conf;
xdg.configFile."git/config".source = ./git/config;
xdg.configFile."git/config_foxsoft".source = ./git/config_foxsoft;
xdg.configFile."nvim/init.lua".source = ./nvim/init.lua;