summaryrefslogtreecommitdiff
path: root/configuration.nix
diff options
context:
space:
mode:
authorMike Vink <mike1994vink@gmail.com>2023-07-10 10:53:07 +0200
committerMike Vink <mike1994vink@gmail.com>2023-07-10 10:53:07 +0200
commitaee8baaac3d3e39e90c08d9c7a3a6bf806071ae4 (patch)
tree5f0ebbc5cbf1173ee4910e037d4ccd7e28f2146b /configuration.nix
parent7d78321c0ed6b3ae9f56ddb5f502110212d8fb86 (diff)
stuff
Diffstat (limited to 'configuration.nix')
-rw-r--r--configuration.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/configuration.nix b/configuration.nix
index c414100..a82d1ed 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -111,7 +111,12 @@
services.xserver.displayManager.startx.enable = true;
services.xserver.libinput.enable = true;
+ services.udev.packages = [ pkgs.yubikey-personalization ];
services.pcscd.enable = true;
+ security.pam.services = {
+ login.u2fAuth = true;
+ sudo.u2fAuth = true;
+ };
sound.enable = true;
security.rtkit.enable = true;