summary refs log tree commit diff stats
path: root/user/settings/zsh.nix
diff options
context:
space:
mode:
authorAlan Pearce2019-10-13 12:40:58 +0200
committerAlan Pearce2019-10-16 19:27:33 +0200
commita7703b258aa3c8d30543a7de41ac12f827bd845a (patch)
tree7ce92dc922b074689d053a1e1ad438e0f793947c /user/settings/zsh.nix
parentbbe5d54a343420183f7a2202a1df000a95a53fd1 (diff)
downloadnixfiles-a7703b258aa3c8d30543a7de41ac12f827bd845a.tar.lz
nixfiles-a7703b258aa3c8d30543a7de41ac12f827bd845a.tar.zst
nixfiles-a7703b258aa3c8d30543a7de41ac12f827bd845a.zip
Choose EMAIL via home-manager
Diffstat (limited to 'user/settings/zsh.nix')
-rw-r--r--user/settings/zsh.nix30
1 files changed, 0 insertions, 30 deletions
diff --git a/user/settings/zsh.nix b/user/settings/zsh.nix
index dd24b663..eb606fc9 100644
--- a/user/settings/zsh.nix
+++ b/user/settings/zsh.nix
@@ -258,29 +258,6 @@ in
     };
 
     envExtra = ''
-      case $OSTYPE in
-        darwin*)
-          os=darwin
-          ;;
-        linux-gnu)
-          os=linux
-          ;;
-        freebsd*)
-          os=freebsd
-          ;;
-        *)
-          os=unknown
-          ;;
-      esac
-
-      case $MACHTYPE in
-        *64)
-          arch=amd64
-          ;;
-        *)
-          arch=386
-          ;;
-      esac
       if [[ ''${path[(I)$HOME/.local/bin ]} ]]
       then
         path+=($HOME/.local/bin)
@@ -290,13 +267,6 @@ in
       then
         path+=($HOME/go/bin)
       fi
-
-      if [[ $HOST =~ satoshi ]]
-      then
-        EMAIL=alan@satoshipay.io
-      else
-        EMAIL=alan@alanpearce.eu
-      fi
     '';
 
     initExtra = ''