first yubikey stuff added

This commit is contained in:
twoneis 2025-03-06 16:37:29 +01:00
parent 5848a4e3f8
commit 0936a5d28f
2 changed files with 13 additions and 1 deletions

View file

@ -7,5 +7,16 @@
inherit (lib) mkIf;
inherit (config) conf;
in
mkIf conf.yuibkey.enable {
mkIf conf.yubikey.enable {
services.udev.packages = [pkgs.yubikey-personalization];
services.pcscd.enable = true;
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
};
home-manager.users.${conf.username}.home.packages = with pkgs; [
yubioath-flutter
];
}