-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy path.env
16 lines (15 loc) · 846 Bytes
/
.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env bash
export GPG_TTY=$(tty)
export NIXOS_OZONE_WL="1"
export EDITOR="emacsclient -c"
export GRADLE_OPTS=-Xmx1024m
export GOPATH="$HOME/gocode"
export PATH="$PATH:$HOME/.config/emacs/bin"
export NETWORK_WIRELESS_INTERFACE=$(ip route | grep '^default' | awk '{print $5}' | tail -n1)
export NETWORK_WIRED_INTERFACE=$(ip route |grep -v "$NETWORK_WIRELESS_INTERFACE" | grep '^default' | awk '{print $5}' | head -n1)
export BATTERY_ADAPTER=$(ls /sys/class/power_supply/ |grep -v BAT)
export VPN_COMMAND_NAME="gpclient"
export VPN_START="nix shell github:yuezk/GlobalProtect-openconnect/v2.3.8 -c sudo -E gpclient --ignore-tls-errors connect br1.zta.nubank.world --default-browser --as-gateway"
export DRIVE_COMMAND_NAME="google-drive-oc"
GOOGLE_CHROME=$(which google-chrome-stable)
export CHROME_EXECUTABLE=$(readlink -f $GOOGLE_CHROME)