feat(yubikey): declare yubikey-manager

This commit is contained in:
2026-05-16 11:39:36 +02:00
parent cd52edbc4d
commit 11a89aa772
6 changed files with 81 additions and 78 deletions

View File

@@ -30,8 +30,9 @@
../../modules/ssh
../../modules/taskwarrior
../../modules/terminal
../../modules/zk
../../modules/torrenting
../../modules/yubikey
../../modules/zk
];
home = {
@@ -58,6 +59,7 @@
shell.bash.aliases.lang-js = true;
shell.bash.addBinToPath = true;
torrenting.enable = true;
my.yubikey.enable = true;
zk.enable = true;
programs = {

View File

@@ -29,6 +29,7 @@
../../modules/ssh
../../modules/taskwarrior
../../modules/terminal
../../modules/yubikey
];
home = {
@@ -53,6 +54,7 @@
git.github.enable = true;
shell.bash.aliases.lang-js = true;
shell.bash.addBinToPath = true;
my.yubikey.enable = true;
programs = {
home-manager.enable = true;

View File

@@ -0,0 +1,19 @@
{
lib,
config,
pkgs,
...
}:
{
options.my.yubikey = {
enable = lib.mkEnableOption "yubikey";
};
config = lib.mkIf config.my.yubikey.enable {
home.packages = with pkgs; [
yubikey-manager
yubikey-personalization
];
};
}