shift shellinit to zsh config
This commit is contained in:
parent
c3b6ce61db
commit
a129df16dc
@ -37,12 +37,6 @@
|
|||||||
alacritty.settings.font.size = 11;
|
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
|
services = { # Applets
|
||||||
blueman-applet.enable = true; # Bluetooth
|
blueman-applet.enable = true; # Bluetooth
|
||||||
network-manager-applet.enable = true; # Network
|
network-manager-applet.enable = true; # Network
|
||||||
|
@ -18,7 +18,11 @@
|
|||||||
plugins = [ "git" ];
|
plugins = [ "git" ];
|
||||||
custom = "$HOME/.config/zsh_nix/custom";
|
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
|
initExtra = '' # Zsh theme
|
||||||
# Spaceship
|
# Spaceship
|
||||||
source ${pkgs.spaceship-prompt}/share/zsh/site-functions/prompt_spaceship_setup
|
source ${pkgs.spaceship-prompt}/share/zsh/site-functions/prompt_spaceship_setup
|
||||||
|
Loading…
Reference in New Issue
Block a user