From f9c1e8804ee0271b6dc3d2cfa2d873b68379484d Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Thu, 18 Jan 2024 23:17:39 +0530 Subject: [PATCH] fmt --- home/zsh.nix | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/home/zsh.nix b/home/zsh.nix index 2f48958..7520c15 100644 --- a/home/zsh.nix +++ b/home/zsh.nix @@ -1,19 +1,21 @@ { ... }: { - programs.zsh.enable = true; - # This must be envExtra (rather than initExtra), because doom-emacs requires it - # https://github.com/doomemacs/doomemacs/issues/687#issuecomment-409889275 - # - # But also see: 'doom env', which is what works. - programs.zsh.envExtra = '' - export PATH=/etc/profiles/per-user/$USER/bin:/run/current-system/sw/bin/:$PATH - # For 1Password CLI. This requires `pkgs.gh` to be installed. - source $HOME/.config/op/plugins.sh - # Because, adding it in .ssh/config is not enough. - # cf. https://developer.1password.com/docs/ssh/get-started#step-4-configure-your-ssh-or-git-client - export SSH_AUTH_SOCK=~/Library/Group\ Containers/2BUA8C4S2C.com.1password/t/agent.sock - ''; + programs.zsh = { + enable = true; + # This must be envExtra (rather than initExtra), because doom-emacs requires it + # https://github.com/doomemacs/doomemacs/issues/687#issuecomment-409889275 + # + # But also see: 'doom env', which is what works. + envExtra = '' + export PATH=/etc/profiles/per-user/$USER/bin:/run/current-system/sw/bin/:$PATH + # For 1Password CLI. This requires `pkgs.gh` to be installed. + source $HOME/.config/op/plugins.sh + # Because, adding it in .ssh/config is not enough. + # cf. https://developer.1password.com/docs/ssh/get-started#step-4-configure-your-ssh-or-git-client + export SSH_AUTH_SOCK=~/Library/Group\ Containers/2BUA8C4S2C.com.1password/t/agent.sock + ''; + }; programs.nix-index.enableZshIntegration = true; }