2022-07-25 09:27:36 -04:00
|
|
|
#!/bin/bash
|
|
|
|
#DNS doesn't work on an AppVM if Lokinet is used in a ProxyVM so Lokinet has to be installed on the AppVM
|
2022-07-27 00:19:42 -04:00
|
|
|
#The AppVM needs to be granted the network-manager service
|
2022-07-25 09:27:36 -04:00
|
|
|
#There is a risk of leaks because I dont see any killswitch being implemented
|
|
|
|
|
2022-07-27 00:19:42 -04:00
|
|
|
#Disabling the Arc icon theme here because it looks bad on the systray
|
|
|
|
sudo rm -rf /usr/share/icons/Arc
|
|
|
|
|
|
|
|
echo "[Settings]
|
|
|
|
gtk-theme-name=Arc-Dark
|
|
|
|
gtk-application-prefer-dark-theme=1" | sudo tee /etc/gtk-3.0/settings.ini
|
|
|
|
|
|
|
|
echo "[Settings]
|
|
|
|
gtk-theme-name=Arc-Dark
|
|
|
|
gtk-application-prefer-dark-theme=1" | sudo tee /etc/gtk-4.0/settings.ini
|
|
|
|
|
|
|
|
|
|
|
|
#Actual Installtion
|
2022-07-25 09:27:36 -04:00
|
|
|
sudo curl --proxy http://127.0.0.1:8082 -so /etc/apt/trusted.gpg.d/oxen.gpg https://deb.oxen.io/pub.gpg
|
|
|
|
echo "deb https://deb.oxen.io $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/oxen.list
|
|
|
|
sudo curl --proxy http://127.0.0.1:8082 -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg
|
2023-06-22 04:37:07 -04:00
|
|
|
echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg] https://brave-browser-apt-release.s3.brave.com/ stable main" | sudo tee /etc/apt/sources.list.d/brave-browser-release.list
|
2022-07-25 09:27:36 -04:00
|
|
|
sudo apt update
|
2022-07-27 00:19:42 -04:00
|
|
|
sudo apt install --no-install-recommends brave-browser lokinet-gui resolvconf
|
2022-07-26 05:57:13 -04:00
|
|
|
sudo sed -i 's/#exit-node=/exit-node=exit.loki/' /var/lib/lokinet/lokinet.ini
|
|
|
|
sudo systemctl enable --now lokinet
|