refactor nixos config

This commit is contained in:
2025-12-12 21:42:42 +03:00
parent 732f6f89a5
commit 737b10813b
14 changed files with 158 additions and 135 deletions
+22
View File
@@ -0,0 +1,22 @@
{ config, pkgs, lib, ... }:
{
services.udev.packages = [ pkgs.yubikey-personalization ];
environment.systemPackages = with pkgs; [
fprintd
yubioath-flutter
yubikey-manager
pam_u2f
];
services.pcscd.enable = true;
programs.gnupg.agent = {
enable = true;
# enableSSHSupport = true;
};
# services.yubikey-agent.enable = true;
services.fprintd.enable = true;
security.pam.services.sudo.fprintAuth = true;
security.pam.services.login.fprintAuth = lib.mkForce true;
}