[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 usbutils
valgrind valgrind
wget wget
zsh
# Nix # Nix
nix-prefetch-git nix-prefetch-git
@ -290,14 +289,7 @@ in
# }; # };
# Enabling zsh will clobber path because of the way it sets up /etc/zshenv # Enabling zsh will clobber path because of the way it sets up /etc/zshenv
# programs.zsh.enable = true; 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.gnupg.agent = { enable = true; enableSSHSupport = true; }; programs.gnupg.agent = { enable = true; enableSSHSupport = true; };
programs.adb.enable = true; programs.adb.enable = true;