Setup pinentry

This commit is contained in:
Curt Spark 2024-12-12 21:55:04 +00:00
parent fd13d6b4db
commit 24ba743276
2 changed files with 13 additions and 0 deletions

View File

@ -15,6 +15,10 @@ in
};
config = lib.mkIf cfg.enable {
services.gpg-agent = {
pinentryPackage = pkgs.pinentry-qt;
};
# Config Files (typically $HOME/.config)
xdg.configFile = {
"vesktop/themes".source = ./resources/home-manager/.config/vesktop/themes;
@ -26,6 +30,8 @@ in
# Automatically executed on exwm startup
home.packages = with pkgs; [
gcr
(writeShellScriptBin "exwm-autostart"
''
kdeconnect-indicator &

View File

@ -25,8 +25,15 @@ in
displayManager.startx.enable = true;
};
programs.gnupg = {
agent.enable = true;
agent.pinentryPackage = pkgs.pinentry-qt;
};
environment.systemPackages = with pkgs; [
gcr # For GNOME gpg pinentry
pinentry-qt
gtk3 # Includes gtk-launch which is used by counsel-linux-app inside emacs
emacs-gtk
light # GNU/Linux application to control backlights