3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules/programs
Philip Potter e4029c34fc yubikey-agent: init at 0.1.3
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.
2020-07-16 15:29:33 +01:00
..
bash Don't enable nix-bash-completions when using Nix 2.4 2020-06-04 14:18:18 +02:00
command-not-found
digitalbitbox
zsh zsh: added option to enable compatibility with bash's completion system 2020-05-03 12:08:25 +02:00
adb.nix nixos/adb: don't make android tools the system-wide mke2fs, lowPrio 2019-11-20 22:57:00 +01:00
atop.nix
autojump.nix
bandwhich.nix bandwhich: 0.5.1 -> 0.6.0 2019-12-31 10:20:07 +02:00
bash-my-aws.nix bash-my-aws: init at 20191231 2020-01-01 14:53:15 -05:00
bcc.nix
browserpass.nix
captive-browser.nix nixos/captive-browser: set chromium's data-dir to a XDG-compliant location 2020-03-11 20:17:46 +01:00
ccache.nix
cdemu.nix treewide: add bool type to enable options, or make use of mkEnableOption 2020-04-21 08:55:36 +02:00
chromium.nix nixos/chromium: add example and update description 2020-05-24 21:39:44 +02:00
clickshare.nix
criu.nix treewide: add bool type to enable options, or make use of mkEnableOption 2020-04-21 08:55:36 +02:00
dconf.nix ibus: fix installation of dconf database 2020-06-02 22:32:03 +02:00
dmrconfig.nix
environment.nix nixos/environment: don't set GTK_DATA_PREFIX or GTK_EXE_PREFIX 2019-10-13 19:54:09 -04:00
evince.nix
file-roller.nix
firejail.nix nixos/firejail: use local runCommand 2020-03-14 03:09:48 +00:00
fish.nix nixos/fish: enable man cache generation 2020-06-29 22:28:32 +02:00
fish_completion-generator.patch nixos/fish: fix completions patch 2020-02-18 08:58:11 -08:00
freetds.nix
fuse.nix
geary.nix nixos: add freedesktop/gnome/myself maintainers 2020-04-01 20:53:09 -04:00
gnome-disks.nix nixos: add freedesktop/gnome/myself maintainers 2020-04-01 20:53:09 -04:00
gnome-documents.nix nixos: add freedesktop/gnome/myself maintainers 2020-04-01 20:53:09 -04:00
gnome-terminal.nix nixos: add freedesktop/gnome/myself maintainers 2020-04-01 20:53:09 -04:00
gnupg.nix yubikey-agent: init at 0.1.3 2020-07-16 15:29:33 +01:00
gpaste.nix
gphoto2.nix
hamster.nix nixos/hamster: fix eval 2020-06-18 16:22:13 +02:00
iftop.nix
iotop.nix
java.nix
kbdlight.nix
less.nix
liboping.nix nixos/liboping: add module 2020-01-16 18:09:35 +01:00
light.nix
mininet.nix
mosh.nix
mtr.nix
nano.nix
nm-applet.nix nixos: add freedesktop/gnome/myself maintainers 2020-04-01 20:53:09 -04:00
npm.nix nixos/npm: enable using a specific nodejs package 2020-04-07 15:34:06 +03:00
oblogout.nix nixos/oblogout: drop module 2019-12-10 22:41:25 -05:00
plotinus.nix
plotinus.xml
qt5ct.nix
screen.nix screen: move pam service to module 2020-01-03 15:24:32 +00:00
seahorse.nix nixos/seahorse: use seahorse's askpass by default 2019-10-21 18:01:15 +02:00
sedutil.nix
shadow.nix Merge pull request #51270 from aneeshusa/enable-setuid-wrapper-for-chsh 2020-06-02 10:50:31 +01:00
singularity.nix nixos/*: use $out instead of $bin with buildGoPackage 2020-04-28 20:30:29 +10:00
slock.nix
spacefm.nix
ssh.nix nixos/ssh: add crypto options 2020-06-08 22:10:36 +03:00
ssmtp.nix nixos/ssmtp: drop authPass option in favor of authPassFile, or services.ssmtp.settings.AuthPass if absolutely required 2020-06-12 06:41:56 -04:00
sway.nix nixos/sway: use new package name for rxvt-unicode 2020-02-13 09:36:35 +01:00
sysdig.nix
system-config-printer.nix
systemtap.nix treewide: add bool type to enable options, or make use of mkEnableOption 2020-04-21 08:55:36 +02:00
thefuck.nix
tmux.nix nixos/tmux: rename extraTmuxConf to extraConfig (#77423) 2020-02-06 15:29:36 -08:00
traceroute.nix nixos/traceroute: init 2020-01-17 21:28:54 +00:00
tsm-client.nix
udevil.nix
usbtop.nix
venus.nix treewide: use https for nixos.org and hydra.nixos.org 2020-05-03 22:14:21 -07:00
vim.nix
virtualbox.nix
wavemon.nix
waybar.nix
wireshark.nix
x2goserver.nix
xfs_quota.nix
xonsh.nix nixos/xonsh: source NixOS environment 2020-04-21 23:43:37 +02:00
xss-lock.nix
yabar.nix
zmap.nix