diff --git a/users/patrick/dev.nix b/users/patrick/dev.nix index 527a146..03ea1e9 100644 --- a/users/patrick/dev.nix +++ b/users/patrick/dev.nix @@ -20,11 +20,6 @@ lib.optionalAttrs (!minimal) { services.nixseparatedebuginfod.enable = true; environment = { enableDebugInfo = true; - shellInit = '' - gpg-connect-agent /bye - export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) - umask 077 - ''; }; documentation = { dev.enable = true; @@ -33,4 +28,9 @@ lib.optionalAttrs (!minimal) { info.enable = false; nixos.enable = false; }; + hm.programs.zsh.initExtra = '' + gpg-connect-agent /bye + export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) + umask 077 + ''; } diff --git a/users/patrick/programs/zsh/default.nix b/users/patrick/programs/zsh/default.nix index 771329b..72abf09 100644 --- a/users/patrick/programs/zsh/default.nix +++ b/users/patrick/programs/zsh/default.nix @@ -39,7 +39,6 @@ zle -N history-beginning-search-backward-end history-search-end zle -N history-beginning-search-forward-end history-search-end fi - ''; plugins = [ {