mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-12-15 15:02:09 +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 {
|
config = lib.mkIf cfg.enable {
|
||||||
services.udev.packages = [ pkgs.yubikey-personalization ];
|
|
||||||
programs = {
|
programs = {
|
||||||
|
yubikey-manager.enable = true;
|
||||||
ssh.startAgent = false;
|
ssh.startAgent = false;
|
||||||
gnupg.agent = {
|
gnupg.agent = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableSSHSupport = true;
|
enableSSHSupport = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
services.pcscd.enable = true;
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [ yubikey-manager ];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue