[NixOS] Enable zsh instead of just adding it as a system package

This commit is contained in:
Ivan Malison 2019-07-02 11:24:13 -07:00
parent 4049d49c62
commit bbaf51849c
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -271,7 +271,6 @@ in
usbutils
valgrind
wget
zsh
# Nix
nix-prefetch-git
@ -290,14 +289,7 @@ in
# };
# Enabling zsh will clobber path because of the way it sets up /etc/zshenv
# programs.zsh.enable = true;
# Instead we just make sure to source profile from zsh
environment.etc."zshenv".text =
''
if [ -n "$__ETC_PROFILE_DONE" ]; then return; fi
source /etc/profile
'';
programs.zsh.enable = true;
programs.gnupg.agent = { enable = true; enableSSHSupport = true; };
programs.adb.enable = true;