add yubikey , hypridle and docker service isn't active on boot except on server

This commit is contained in:
2024-12-25 11:42:38 +01:00
parent 01fb3855bc
commit 61e9578c66
5 changed files with 47 additions and 2 deletions

14
modules/yubikey.nix Normal file
View File

@ -0,0 +1,14 @@
{ config, lib, inputs, pkgs, ... }:
{
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
};
security.pam.yubico = {
enable = true;
id = "30536547";
mode = "challenge-response";
};
}