about summary refs log tree commit diff
path: root/nixos/modules/security/pam.nix
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2017-11-17 17:37:46 +0100
committerBjørn Forsman <bjorn.forsman@gmail.com>2017-11-17 17:50:40 +0100
commit3f36f167e6c7dfada2a3363ba22ad9328d393659 (patch)
tree1a1a54bb70695ea787729d3359b5b2e09015101f /nixos/modules/security/pam.nix
parent4be7aae5b3653e7530e2a9c69a830579aaf524b9 (diff)
downloadnixlib-3f36f167e6c7dfada2a3363ba22ad9328d393659.tar
nixlib-3f36f167e6c7dfada2a3363ba22ad9328d393659.tar.gz
nixlib-3f36f167e6c7dfada2a3363ba22ad9328d393659.tar.bz2
nixlib-3f36f167e6c7dfada2a3363ba22ad9328d393659.tar.lz
nixlib-3f36f167e6c7dfada2a3363ba22ad9328d393659.tar.xz
nixlib-3f36f167e6c7dfada2a3363ba22ad9328d393659.tar.zst
nixlib-3f36f167e6c7dfada2a3363ba22ad9328d393659.zip
nixos/pam: fix docs about path to u2f_keys file
Looking at upstream git repo (git://github.com/Yubico/pam-u2f.git) the
docs initially said the path was ~/.yubico/u2f_keys, but it was later
changed to ~/.config/Yubico/u2f_keys (in 2015).

I have run pam_u2f.so with "debug" option and observed that the correct
path indeed is ~/.config/Yubico/u2f_keys.
Diffstat (limited to 'nixos/modules/security/pam.nix')
-rw-r--r--nixos/modules/security/pam.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/security/pam.nix b/nixos/modules/security/pam.nix
index 5ded36329f33..2d6713311a45 100644
--- a/nixos/modules/security/pam.nix
+++ b/nixos/modules/security/pam.nix
@@ -41,7 +41,7 @@ let
         type = types.bool;
         description = ''
           If set, users listed in
-          <filename>~/.yubico/u2f_keys</filename> are able to log in
+          <filename>~/.config/Yubico/u2f_keys</filename> are able to log in
           with the associated U2F key.
         '';
       };