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,6 +7,7 @@
secureboot.enable = true; secureboot.enable = true;
containers.enable = true; containers.enable = true;
networkmanager.enable = true; networkmanager.enable = true;
yubikey.enable = true;
stateVersion = "24.11"; stateVersion = "24.11";
hmStateVersion = "24.11"; hmStateVersion = "24.11";

View file

@ -7,5 +7,16 @@
inherit (lib) mkIf; inherit (lib) mkIf;
inherit (config) conf; inherit (config) conf;
in 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
];
} }