feat: add initial modules

This commit is contained in:
2026-02-20 15:10:12 +01:00
parent 9d9d85f1ef
commit 4a2dac4118
15 changed files with 468 additions and 0 deletions

23
modules/nixos/yubikey.nix Normal file
View File

@@ -0,0 +1,23 @@
{
pkgs,
lib,
config,
...
}:
{
options = {
yubikey = {
enable = lib.mkEnableOption "enable yubikey module";
};
};
config = lib.mkIf config.yubikey.enable {
environment.systemPackages = with pkgs; [
yubikey-personalization
yubikey-manager
];
services.pcscd.enable = true;
};
}