meili.nix 453 B

123456789101112131415161718192021222324252627
  1. { config
  2. , lib
  3. , pkgs
  4. , ...
  5. }:
  6. let
  7. configHome = "${config.xdg.configHome}/gnupg";
  8. in
  9. {
  10. home.sessionVariables = {
  11. SSH_AUTH_SOCK = lib.mkDefault "${configHome}/S.gpg-agent.ssh";
  12. };
  13. imports = [
  14. ./features/core.nix
  15. ./features/cli
  16. ./features/desktop
  17. ./features/nvim
  18. ];
  19. services.gpg-agent.pinentry.package = pkgs.pinentry_mac;
  20. programs.fish.interactiveShellInit = ''
  21. eval "$(/opt/homebrew/bin/brew shellenv)"
  22. '';
  23. }