mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 17:17:22 +01:00
21 lines
409 B
Nix
21 lines
409 B
Nix
{ pkgs, ... }:
|
|
{
|
|
programs.ssh.startAgent = false;
|
|
|
|
services.pcscd.enable = false;
|
|
|
|
hardware.gpgSmartcards.enable = true;
|
|
|
|
services.udev.packages = with pkgs; [
|
|
yubikey-personalization
|
|
];
|
|
|
|
# systemd.services.shutdownSopsGpg = {
|
|
# path = [ pkgs.gnupg ];
|
|
# script = ''
|
|
# gpgconf --homedir /var/lib/sops --kill gpg-agent
|
|
# '';
|
|
# wantedBy = [ "multi-user.target" ];
|
|
# };
|
|
|
|
}
|