summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/settings/base.nix4
-rw-r--r--system/settings/darwin.nix14
-rw-r--r--system/settings/programs/shell.nix20
-rw-r--r--system/settings/user-interface.nix2
4 files changed, 0 insertions, 40 deletions
diff --git a/system/settings/base.nix b/system/settings/base.nix
index aa071871..2fd7be1f 100644
--- a/system/settings/base.nix
+++ b/system/settings/base.nix
@@ -5,8 +5,4 @@
 }: {
   boot.loader.timeout = lib.mkDefault 1;
   services.irqbalance.enable = true;
-
-  programs.zsh = {
-    histFile = "\${XDG_DATA_HOME}/zsh/history";
-  };
 }
diff --git a/system/settings/darwin.nix b/system/settings/darwin.nix
index ac5dbf15..14a2b83b 100644
--- a/system/settings/darwin.nix
+++ b/system/settings/darwin.nix
@@ -26,20 +26,6 @@
     allowUnfree = true;
   };
 
-  programs.zsh = {
-    enable = true;
-    loginShellInit = ''
-      source /System/Library/Templates/Data/private/etc/zprofile
-    '';
-    interactiveShellInit = ''
-      if [[ "$(/usr/bin/locale LC_CTYPE)" == "UTF-8" ]]; then
-        setopt COMBINING_CHARS
-      fi
-      # Useful support for interacting with Terminal.app or other terminal programs
-      [[ -r "/etc/zshrc_$TERM_PROGRAM" ]] && . "/etc/zshrc_$TERM_PROGRAM"
-    '';
-  };
-
   environment.systemPackages = with pkgs; [
     watch
     coreutils-prefixed
diff --git a/system/settings/programs/shell.nix b/system/settings/programs/shell.nix
index 3c8c3f4f..87372033 100644
--- a/system/settings/programs/shell.nix
+++ b/system/settings/programs/shell.nix
@@ -2,26 +2,6 @@
 , pkgs
 , ...
 }: {
-  programs.zsh =
-    {
-      enable = true;
-      enableBashCompletion = true;
-      promptInit = "";
-    }
-    // (
-      # Either of these will call `compinit`, causing >2s startup time
-      # Do it in home-manager instead
-      if pkgs.stdenv.isDarwin
-      then {
-        enableCompletion = false;
-      } else {
-        enableGlobalCompInit = false;
-      }
-    );
-  environment.shells = with pkgs; [
-    zsh
-    fish
-  ];
   programs.fish = {
     enable = true;
   };
diff --git a/system/settings/user-interface.nix b/system/settings/user-interface.nix
index cd23d3bd..915c3ec4 100644
--- a/system/settings/user-interface.nix
+++ b/system/settings/user-interface.nix
@@ -6,8 +6,6 @@
   documentation.info.enable = true;
   nixpkgs.config.firefox.enableOfficialBranding = true;
 
-  environment.pathsToLink = [ "/share/zsh" ];
-
   environment.systemPackages = with pkgs; [
     aria2
     pcmanfm