diff --git a/hosts/tomate/configuration.nix b/hosts/tomate/configuration.nix index f3ca92f..ab12788 100644 --- a/hosts/tomate/configuration.nix +++ b/hosts/tomate/configuration.nix @@ -110,6 +110,18 @@ # vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default. # wget ]; + security = { + pam = { + u2f = { + enable = true; + }; + services = { + login.u2fAuth = true; + sudo.u2fAuth = true; + }; + }; + + }; # Some programs need SUID wrappers, can be configured further or are # started in user sessions.