From e84cc898c79702fae3db7ca6dd9319007963124e Mon Sep 17 00:00:00 2001 From: Alexander Bantyev Date: Fri, 28 Feb 2020 14:20:24 +0300 Subject: [PATCH] Update modules/workspace/misc.nix --- modules/workspace/misc.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/modules/workspace/misc.nix b/modules/workspace/misc.nix index 72c2ef2..4190348 100644 --- a/modules/workspace/misc.nix +++ b/modules/workspace/misc.nix @@ -16,9 +16,13 @@ }; services.atd.enable = true; security.pam.services.sudo = { - u2fAuth.enable = true; + u2fAuth = true; unixAuth = false; }; + security.pam.u2f = { + control = "sufficient"; + cue = true; + }; home-manager.users.balsoft = { xdg.enable = true; @@ -41,7 +45,7 @@ services.gpg-agent = { enable = true; enableSshSupport = true; - pinentryFlavor = "curses"; + pinentryFlavor = "qt"; sshKeys = [ "0819BD05AB506F55109B8418B7809DF496AD3C7B" ]; }; programs.gpg.enable = true;