🚀 add yubikey module

nixos
Moritz Böhme 2022-04-18 12:27:54 +02:00
parent c825a0a7fd
commit 45e31b3ca3
No known key found for this signature in database
GPG Key ID: 213820E2795F5CF5
2 changed files with 16 additions and 0 deletions

View File

@ -10,6 +10,7 @@
./ssh.nix ./ssh.nix
./shell ./shell
./spotify.nix ./spotify.nix
./yubikey.nix
]; ];
modules.cli.shell = let modules.cli.shell = let
# HACK to fix 24bit color support with kitty # HACK to fix 24bit color support with kitty

15
modules/cli/yubikey.nix Normal file
View File

@ -0,0 +1,15 @@
{ config, lib, pkgs, ... }:
{
services.udev.packages = [ pkgs.yubikey-personalization ];
home-manager.users.moritz.home.packages = with pkgs; [
# cli
yubikey-manager
yubikey-personalization
paperkey
stable.haskellPackages.hopenpgp-tools
# graphical
yubikey-manager-qt
yubikey-personalization-gui
];
}