shift shellinit to zsh config
This commit is contained in:
parent
c3b6ce61db
commit
a129df16dc
@ -37,12 +37,6 @@
|
||||
alacritty.settings.font.size = 11;
|
||||
};
|
||||
|
||||
environment.shellInit = ''
|
||||
export GPG_TTY="$(tty)"
|
||||
gpg-connect-agent /bye
|
||||
export SSH_AUTH_SOCK="/run/user/$UID/gnupg/S.gpg-agent.ssh"
|
||||
'';
|
||||
|
||||
services = { # Applets
|
||||
blueman-applet.enable = true; # Bluetooth
|
||||
network-manager-applet.enable = true; # Network
|
||||
|
@ -18,7 +18,11 @@
|
||||
plugins = [ "git" ];
|
||||
custom = "$HOME/.config/zsh_nix/custom";
|
||||
};
|
||||
|
||||
shellInit = ''
|
||||
export GPG_TTY="$(tty)"
|
||||
gpg-connect-agent /bye
|
||||
export SSH_AUTH_SOCK="/run/user/$UID/gnupg/S.gpg-agent.ssh"
|
||||
'';
|
||||
initExtra = '' # Zsh theme
|
||||
# Spaceship
|
||||
source ${pkgs.spaceship-prompt}/share/zsh/site-functions/prompt_spaceship_setup
|
||||
|
Loading…
Reference in New Issue
Block a user