From bbaf51849cee0b4e75d987648cf67bf7e5fdfebf Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Tue, 2 Jul 2019 11:24:13 -0700 Subject: [PATCH] [NixOS] Enable zsh instead of just adding it as a system package --- nixos/configuration.nix | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/nixos/configuration.nix b/nixos/configuration.nix index df0a136d..e394005b 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -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;