diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 3b672f0..a9003e6 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -81,6 +81,9 @@ # Enable blueman services.blueman.enable = true; + # Enable smart card services + services.pcscd.enable = true; + # Enable touchpad support (enabled default in most desktopManager). # services.xserver.libinput.enable = true; @@ -108,6 +111,13 @@ security.rtkit.enable = true; + security.pam.yubico = { + enable = true; + debug = true; + mode = "challenge-response"; + id = ["24353659"]; + }; + # Define a user account. Don't forget to set a password with ‘passwd’. users.users.shahab = { shell = pkgs.zsh;