From 45e31b3ca3907878cbef58d6976e33deb959c060 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20B=C3=B6hme?= Date: Mon, 18 Apr 2022 12:27:54 +0200 Subject: [PATCH] :rocket: add yubikey module --- modules/cli/default.nix | 1 + modules/cli/yubikey.nix | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 modules/cli/yubikey.nix diff --git a/modules/cli/default.nix b/modules/cli/default.nix index b8dbc18..50b23a8 100644 --- a/modules/cli/default.nix +++ b/modules/cli/default.nix @@ -10,6 +10,7 @@ ./ssh.nix ./shell ./spotify.nix + ./yubikey.nix ]; modules.cli.shell = let # HACK to fix 24bit color support with kitty diff --git a/modules/cli/yubikey.nix b/modules/cli/yubikey.nix new file mode 100644 index 0000000..ae36b21 --- /dev/null +++ b/modules/cli/yubikey.nix @@ -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 + ]; +}