nixos/gnupg: create

This commit is contained in:
Wroclaw 2024-07-28 23:22:53 +02:00
parent f89c97d3a1
commit 78ab704ca3
3 changed files with 17 additions and 0 deletions

View file

@ -19,6 +19,7 @@
../nix-os/xdg-default-apps.nix
../nix-os/services/nix-binary-cache.nix
../nix-os/udev.nix
../nix-os/gnupg.nix
"${inputs.nixos-vscode-server}"
];

View file

@ -8,6 +8,7 @@
../nix-os/adb.nix
../nix-os/locale.nix
../nix-os/shell.nix
../nix-os/gnupg.nix
../nix-os/desktopManagers/gnome.nix
../nix-os/displayManagers/gdm.nix

15
nix-os/gnupg.nix Normal file
View file

@ -0,0 +1,15 @@
{ pkgs, ... }:
{
config = {
# Use pcscd for smartcard support
services.pcscd.enable = true;
environment.systemPackages = [(
pkgs.gnupg.overrideAttrs (superAttrs: {
configureFlags = superAttrs.configureFlags or []
++ [ "--disable-ccid-driver" ];
})
)];
};
}