diff options
| -rw-r--r-- | doc/guix-cookbook.texi | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/doc/guix-cookbook.texi b/doc/guix-cookbook.texi index aa3d6debbd6..87430b741a8 100644 --- a/doc/guix-cookbook.texi +++ b/doc/guix-cookbook.texi | |||
| @@ -21,7 +21,7 @@ Copyright @copyright{} 2020 Brice Waegeneire@* | |||
| 21 | Copyright @copyright{} 2020 André Batista@* | 21 | Copyright @copyright{} 2020 André Batista@* |
| 22 | Copyright @copyright{} 2020 Christine Lemmer-Webber@* | 22 | Copyright @copyright{} 2020 Christine Lemmer-Webber@* |
| 23 | Copyright @copyright{} 2021 Joshua Branson@* | 23 | Copyright @copyright{} 2021 Joshua Branson@* |
| 24 | Copyright @copyright{} 2022 Maxim Cournoyer@* | 24 | Copyright @copyright{} 2022, 2023 Maxim Cournoyer@* |
| 25 | Copyright @copyright{} 2023 Ludovic Courtès | 25 | Copyright @copyright{} 2023 Ludovic Courtès |
| 26 | 26 | ||
| 27 | Permission is granted to copy, distribute and/or modify this document | 27 | Permission is granted to copy, distribute and/or modify this document |
| @@ -127,7 +127,7 @@ System Configuration | |||
| 127 | * Dynamic DNS mcron job:: Job to update the IP address behind a DuckDNS host name. | 127 | * Dynamic DNS mcron job:: Job to update the IP address behind a DuckDNS host name. |
| 128 | * Connecting to Wireguard VPN:: Connecting to a Wireguard VPN. | 128 | * Connecting to Wireguard VPN:: Connecting to a Wireguard VPN. |
| 129 | * Customizing a Window Manager:: Handle customization of a Window manager on Guix System. | 129 | * Customizing a Window Manager:: Handle customization of a Window manager on Guix System. |
| 130 | * Running Guix on a Linode Server:: Running Guix on a Linode Server. Running Guix on a Linode Server. | 130 | * Running Guix on a Linode Server:: Running Guix on a Linode Server. |
| 131 | * Setting up a bind mount:: Setting up a bind mount in the file-systems definition. | 131 | * Setting up a bind mount:: Setting up a bind mount in the file-systems definition. |
| 132 | * Getting substitutes from Tor:: Configuring Guix daemon to get substitutes through Tor. | 132 | * Getting substitutes from Tor:: Configuring Guix daemon to get substitutes through Tor. |
| 133 | * Setting up NGINX with Lua:: Configuring NGINX web-server to load Lua modules. | 133 | * Setting up NGINX with Lua:: Configuring NGINX web-server to load Lua modules. |
| @@ -1574,7 +1574,7 @@ reference. | |||
| 1574 | * Dynamic DNS mcron job:: Job to update the IP address behind a DuckDNS host name. | 1574 | * Dynamic DNS mcron job:: Job to update the IP address behind a DuckDNS host name. |
| 1575 | * Connecting to Wireguard VPN:: Connecting to a Wireguard VPN. | 1575 | * Connecting to Wireguard VPN:: Connecting to a Wireguard VPN. |
| 1576 | * Customizing a Window Manager:: Handle customization of a Window manager on Guix System. | 1576 | * Customizing a Window Manager:: Handle customization of a Window manager on Guix System. |
| 1577 | * Running Guix on a Linode Server:: Running Guix on a Linode Server. Running Guix on a Linode Server. | 1577 | * Running Guix on a Linode Server:: Running Guix on a Linode Server. |
| 1578 | * Setting up a bind mount:: Setting up a bind mount in the file-systems definition. | 1578 | * Setting up a bind mount:: Setting up a bind mount in the file-systems definition. |
| 1579 | * Getting substitutes from Tor:: Configuring Guix daemon to get substitutes through Tor. | 1579 | * Getting substitutes from Tor:: Configuring Guix daemon to get substitutes through Tor. |
| 1580 | * Setting up NGINX with Lua:: Configuring NGINX web-server to load Lua modules. | 1580 | * Setting up NGINX with Lua:: Configuring NGINX web-server to load Lua modules. |
| @@ -2134,6 +2134,24 @@ security key'' menu. If it works, congratulations, your security key is | |||
| 2134 | ready to be used with applications supporting two-factor authentication | 2134 | ready to be used with applications supporting two-factor authentication |
| 2135 | (2FA). | 2135 | (2FA). |
| 2136 | 2136 | ||
| 2137 | @subsection Disabling OTP code generation for a Yubikey | ||
| 2138 | @cindex disabling yubikey OTP | ||
| 2139 | If you use a Yubikey security key and are irritated by the spurious OTP | ||
| 2140 | codes it generates when inadvertently touching the key (e.g. causing you | ||
| 2141 | to become a spammer in the @samp{#guix} channel when discussing from | ||
| 2142 | your favorite IRC client!), you can disable it via the following | ||
| 2143 | @command{ykman} command: | ||
| 2144 | |||
| 2145 | @example | ||
| 2146 | guix shell python-yubikey-manager -- ykman config usb --force --disable OTP | ||
| 2147 | @end example | ||
| 2148 | |||
| 2149 | Alternatively, you could use the @command{ykman-gui} command provided by | ||
| 2150 | the @code{yubikey-manager-qt} package and either wholly disable the | ||
| 2151 | @samp{OTP} application for the USB interface or, from the | ||
| 2152 | @samp{Applications -> OTP} view, delete the slot 1 configuration, which | ||
| 2153 | comes pre-configured with the Yubico OTP application. | ||
| 2154 | |||
| 2137 | @node Dynamic DNS mcron job | 2155 | @node Dynamic DNS mcron job |
| 2138 | @section Dynamic DNS mcron job | 2156 | @section Dynamic DNS mcron job |
| 2139 | 2157 | ||
