e4029c34fc
This adds yubikey-agent as a package and a nixos module. On macOS, we use `wrapProgram` to set pinentry_mac as default in PATH; on Linux we rely on the user to set their preferred pinentry in PATH. In particular, we use a systemd override to prefix PATH to select a chosen pinentry program if specified. On Linux, we need libnotify to provide the notify-send utility for desktop notifications (such as "Waiting for Yubikey touch..."). This might work on other flavors of unix, but I haven't tested. We reuse the programs.gnupg.agent.pinentryFlavor option for yubikey-agent, but in doing so I hit a problem: pinentryFlavour's default value is specified in a mkDefault, but only conditionally. We ought to be able to pick up the pinentryFlavour whether or not gpg-agent is running. As a result, this commit moves the default value to the definition of programs.gnupg.agent.enable. |
||
---|---|---|
.. | ||
bash | ||
command-not-found | ||
digitalbitbox | ||
zsh | ||
adb.nix | ||
atop.nix | ||
autojump.nix | ||
bandwhich.nix | ||
bash-my-aws.nix | ||
bcc.nix | ||
browserpass.nix | ||
captive-browser.nix | ||
ccache.nix | ||
cdemu.nix | ||
chromium.nix | ||
clickshare.nix | ||
criu.nix | ||
dconf.nix | ||
dmrconfig.nix | ||
environment.nix | ||
evince.nix | ||
file-roller.nix | ||
firejail.nix | ||
fish.nix | ||
fish_completion-generator.patch | ||
freetds.nix | ||
fuse.nix | ||
geary.nix | ||
gnome-disks.nix | ||
gnome-documents.nix | ||
gnome-terminal.nix | ||
gnupg.nix | ||
gpaste.nix | ||
gphoto2.nix | ||
hamster.nix | ||
iftop.nix | ||
iotop.nix | ||
java.nix | ||
kbdlight.nix | ||
less.nix | ||
liboping.nix | ||
light.nix | ||
mininet.nix | ||
mosh.nix | ||
mtr.nix | ||
nano.nix | ||
nm-applet.nix | ||
npm.nix | ||
oblogout.nix | ||
plotinus.nix | ||
plotinus.xml | ||
qt5ct.nix | ||
screen.nix | ||
seahorse.nix | ||
sedutil.nix | ||
shadow.nix | ||
singularity.nix | ||
slock.nix | ||
spacefm.nix | ||
ssh.nix | ||
ssmtp.nix | ||
sway.nix | ||
sysdig.nix | ||
system-config-printer.nix | ||
systemtap.nix | ||
thefuck.nix | ||
tmux.nix | ||
traceroute.nix | ||
tsm-client.nix | ||
udevil.nix | ||
usbtop.nix | ||
venus.nix | ||
vim.nix | ||
virtualbox.nix | ||
wavemon.nix | ||
waybar.nix | ||
wireshark.nix | ||
x2goserver.nix | ||
xfs_quota.nix | ||
xonsh.nix | ||
xss-lock.nix | ||
yabar.nix | ||
zmap.nix |