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

View File

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