You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
450 B
Nix

{ pkgs, lib, ... }:
{
home.packages = with pkgs; [ pinentry_mac ];
home.file.gpg-agent = {
target = ".gnupg/gpg-agent.conf";
text = ''
pinentry-program ${builtins.getEnv "HOME"}/.nix-profile/Applications/pinentry-mac.app/Contents/MacOS/pinentry-mac
default-cache-ttl 86400
max-cache-ttl 86400
'';
};
programs.zsh.initExtra = "source ~/.nix-profile/etc/profile.d/nix.sh";
imports = [ ./home-common.nix ];
}