[NixOS] Enable zsh instead of just adding it as a system package
This commit is contained in:
parent
4049d49c62
commit
bbaf51849c
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user