os/modules/crypto/default.nix
teutat3s b81890d769
nixos-unstable: fixes for NixOS 24.05
Wireplumber config changes for bluetooth
pinentryFlavor -> pinentryPackage
alacritty config changed to TOML
alacritty deprecated config fixes
Nix registry now gets generated from flake inputs ->
(nixpkgs.flake.setFlakeRegistry)
nssmdns -> nssmdns4
2024-04-18 12:57:14 +02:00

34 lines
704 B
Nix

{
lib,
config,
pkgs,
...
}:
with lib; let
psCfg = config.pub-solar;
in {
services.udev.packages = [pkgs.yubikey-personalization];
services.dbus.packages = [pkgs.gcr];
services.pcscd.enable = true;
services.gnome.gnome-keyring.enable = true;
users.users."${psCfg.user.name}".packages = with pkgs; [
libsecret
];
home-manager.users."${psCfg.user.name}" = {
systemd.user.services.polkit-gnome-authentication-agent = import ./polkit-gnome-authentication-agent.service.nix pkgs;
services.gpg-agent = {
enable = true;
pinentryPackage = lib.mkDefault pkgs.pinentry-gnome3;
verbose = true;
};
programs.gpg = {
enable = true;
};
};
}