mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-21 22:03:19 +01:00
add pinentry
This commit is contained in:
parent
705d040040
commit
bf21988cc8
@ -17,13 +17,11 @@
|
|||||||
# Otherwise there might be a gpg error about "no pinentry".
|
# Otherwise there might be a gpg error about "no pinentry".
|
||||||
# https://discourse.nixos.org/t/cant-get-gnupg-to-work-no-pinentry/15373/19
|
# https://discourse.nixos.org/t/cant-get-gnupg-to-work-no-pinentry/15373/19
|
||||||
# But how to restart it? Maybe this?
|
# But how to restart it? Maybe this?
|
||||||
|
# killall gpg-agent
|
||||||
# systemctl --user restart gpg-agent
|
# systemctl --user restart gpg-agent
|
||||||
|
|
||||||
# Not sure if this is needed: Reload udev rules.
|
# Not sure if this is needed: Reload udev rules.
|
||||||
# sudo -- udevadm control --reload-rules && udevadm trigger
|
# sudo -- udevadm control --reload-rules && udevadm trigger
|
||||||
#
|
|
||||||
# Not sure if this is needed:
|
|
||||||
# killall gpg-agent
|
|
||||||
|
|
||||||
# TODO: gpg-agent pinentry problem
|
# TODO: gpg-agent pinentry problem
|
||||||
# https://github.com/NixOS/nixpkgs/issues/97861
|
# https://github.com/NixOS/nixpkgs/issues/97861
|
||||||
@ -88,10 +86,14 @@
|
|||||||
# pinentry-gnome
|
# pinentry-gnome
|
||||||
# ];
|
# ];
|
||||||
# };
|
# };
|
||||||
# environment.systemPackages = with pkgs; [
|
|
||||||
# #pinentry-curses
|
# Adds the pinentry binary to the PATH so that e.g.
|
||||||
# pinentry-gnome
|
# echo GETPIN | pinentry
|
||||||
# ];
|
# works.
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
#pinentry-curses
|
||||||
|
pinentry-gnome
|
||||||
|
];
|
||||||
|
|
||||||
# Smartcard daemon.
|
# Smartcard daemon.
|
||||||
services.pcscd.enable = true;
|
services.pcscd.enable = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user