mirror of
https://github.com/semere-meb/dotfiles-nix.git
synced 2026-08-03 10:24:36 +00:00
24 lines
350 B
Nix
24 lines
350 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
userVars,
|
|
...
|
|
}:
|
|
|
|
{
|
|
environment.systemPackages = with pkgs; [
|
|
gnupg
|
|
pass
|
|
pinentry-qt
|
|
];
|
|
|
|
home-manager.users."${userVars.username}" = {
|
|
services.gpg-agent = {
|
|
enable = true;
|
|
defaultCacheTtl = 1800;
|
|
enableSshSupport = true;
|
|
pinentry.package = pkgs.pinentry-qt;
|
|
};
|
|
};
|
|
}
|