| 123456789101112131415161718192021222324252627 |
- { config
- , lib
- , pkgs
- , ...
- }:
- let
- configHome = "${config.xdg.configHome}/gnupg";
- in
- {
- home.sessionVariables = {
- SSH_AUTH_SOCK = lib.mkDefault "${configHome}/S.gpg-agent.ssh";
- };
- imports = [
- ./features/core.nix
- ./features/cli
- ./features/desktop
- ./features/nvim
- ];
- services.gpg-agent.pinentry.package = pkgs.pinentry_mac;
- programs.fish.interactiveShellInit = ''
- eval "$(/opt/homebrew/bin/brew shellenv)"
- '';
- }
|