dotfiles/common/systemModules/crypt.nix

23 lines
386 B
Nix
Raw Normal View History

2024-10-02 17:19:34 -04:00
{ pkgs, ... }: {
environment = {
systemPackages = with pkgs; [
gnupg
openssh
pinentry-curses
pinentry
];
};
programs = {
ssh = {
startAgent = true;
askPassword = "${pkgs.ksshaskpass}/bin/ksshaskpass";
};
gnupg = {
agent = {
enable = true;
pinentryPackage = pkgs.pinentry-gnome3;
};
};
};
}