mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-12-13 06:05:19 +01:00
hardware/yubikey: use yubikey-manager option
This commit is contained in:
parent
93ed8c268b
commit
045cce30ca
1 changed files with 1 additions and 4 deletions
|
|
@ -13,16 +13,13 @@ in
|
|||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
services.udev.packages = [ pkgs.yubikey-personalization ];
|
||||
programs = {
|
||||
yubikey-manager.enable = true;
|
||||
ssh.startAgent = false;
|
||||
gnupg.agent = {
|
||||
enable = true;
|
||||
enableSSHSupport = true;
|
||||
};
|
||||
};
|
||||
services.pcscd.enable = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [ yubikey-manager ];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue