From 80343ad36d8de4b563bb2b3e76d886bb36cba50b Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Thu, 3 Dec 2020 14:04:10 +0100 Subject: Add yubikey support --- platforms/linux/configuration.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'platforms/linux/configuration.nix') diff --git a/platforms/linux/configuration.nix b/platforms/linux/configuration.nix index 3ef93dd..5658487 100644 --- a/platforms/linux/configuration.nix +++ b/platforms/linux/configuration.nix @@ -319,6 +319,10 @@ in users.defaultUserShell = "/run/current-system/sw/bin/zsh"; security.sudo.wheelNeedsPassword = false; + security.pam.u2f = { + enable = true; + cue = true; + }; # This value determines the NixOS release from which the default -- cgit 1.4.1