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.
20 lines
571 B
Nix
20 lines
571 B
Nix
{ pkgs, lib, ... }:
|
|
|
|
{
|
|
home.packages = with pkgs; [ pinentry_mac terminal-notifier ];
|
|
|
|
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";
|
|
# programs.fish.interactiveShellInit = "source ~/.nix-profile/etc/profile.d/nix.sh";
|
|
|
|
imports = [ ./home-common.nix ./home-mail.nix ];
|
|
}
|