commit e4a75e4319147ec4f2ca94f1ab7d059b6a391577
parent a1c34b6584c34951912a58a52e4704b15b03f318
Author: Vincent Demeester <vincent@sbr.pm>
Date: Sun, 3 May 2020 17:48:51 +0200
wakasu: put u2fAuth to nixos configuration
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/machines/wakasu.nix b/machines/wakasu.nix
@@ -48,5 +48,4 @@
gnome3.zenity # use rofi instead
oathToolkit
];
- security.pam.u2fAuth = true;
}
diff --git a/machines/wakasu.nixos.nix b/machines/wakasu.nixos.nix
@@ -58,6 +58,7 @@ with import ../assets/machines.nix; {
%users ALL = (root) NOPASSWD: /home/vincent/.nix-profile/bin/kubernix
'';
};
+ security.pam.u2fAuth = true;
services = {
logind.extraConfig = ''
HandleLidSwitch=ignore