add yubikey

This commit is contained in:
Jonas Röger 2024-04-14 22:06:49 +02:00
parent 49cdb024fb
commit 6034938775
4 changed files with 26 additions and 1 deletions

View File

@ -2,8 +2,9 @@
{ {
imports = [ imports = [
./plasma.nix
./firefox.nix ./firefox.nix
./plasma.nix
./yubikey.nix
]; ];
# Home Manager needs a bit of information about you and the paths it should # Home Manager needs a bit of information about you and the paths it should

10
home/jonas/yubikey.nix Normal file
View File

@ -0,0 +1,10 @@
{ config, ... }:
{
programs.gpg = {
enable = true;
settings = {
enable-ssh-support = true;
};
};
}

View File

@ -12,6 +12,7 @@
../../modules/hardware/bluetooth.nix ../../modules/hardware/bluetooth.nix
../../modules/hardware/printing.nix ../../modules/hardware/printing.nix
../../modules/hardware/sound.nix ../../modules/hardware/sound.nix
../../modules/hardware/yubikey.nix
../../modules/services/docker.nix ../../modules/services/docker.nix
../../modules/desktop/dm ../../modules/desktop/dm
../../modules/desktop/de ../../modules/desktop/de

View File

@ -0,0 +1,13 @@
{ config, pkgs, ... }:
{
# Include udev rules for yubikey.
services.udev.packages = with pkgs; [
yubikey-personalization
];
# OTP Manager
environment.systemPackages = with pkgs; [
yubioath-flutter
];
services.pcscd.enable = true;
}