1
0
mirror of https://github.com/tommytran732/QubesOS-Scripts synced 2024-09-19 07:04:43 -04:00

Compare commits

...

3 Commits

Author SHA1 Message Date
1bb5faff81
Add gnome-console
Signed-off-by: Tommy <contact@tommytran.io>
2024-05-24 22:49:13 -07:00
2231cec2d7
Add lokinet script
Signed-off-by: Tommy <contact@tommytran.io>
2024-05-24 22:12:32 -07:00
ad3b6269a7
Add lokinet-dns-fix.service
Signed-off-by: Tommy <contact@tommytran.io>
2024-05-24 21:08:50 -07:00
3 changed files with 31 additions and 1 deletions

View File

@ -122,7 +122,7 @@ sudo systemctl enable --now proc-hidepid.service
sudo systemctl enable --now hide-hardware-info.service
# Install packages
sudo apt install --no-install-recommends adw-gtk3-theme loupe qubes-ctap qubes-gpg-split -y
sudo apt install --no-install-recommends adw-gtk3-theme gnome-console loupe qubes-ctap qubes-gpg-split -y
# Flatpak update service
unpriv curl --proxy http://127.0.0.1:8082 https://raw.githubusercontent.com/TommyTran732/QubesOS-Scripts/main/etc/systemd/user/update-user-flatpaks.service | sudo tee /etc/systemd/user/update-user-flatpaks.service

19
debian-gnome/lokinet.sh Normal file
View File

@ -0,0 +1,19 @@
#!/bin/bash
unpriv(){
sudo -u nobody "$@"
}
umask 022
sudo mkdir -p /etc/qubes-bind-dirs.d
echo 'binds+=( '\'''/etc/loki''\'' )' | sudo tee /etc/qubes-bind-dirs.d/50_user.conf
unpriv curl --proxy http://127.0.0.1:8082 https://deb.oxen.io/pub.gpg | sudo tee /usr/share/keyrings/oxen.gpg
echo "deb [signed-by=/usr/share/keyrings/oxen.gpg] https://deb.oxen.io $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/oxen.list
sudo apt update
sudo apt install lokinet resolvconf
unpriv curl --proxy http://127.0.0.1:8082 https://raw.githubusercontent.com/TommyTran732/QubesOS-Scripts/main/etc/systemd/system/lokinet-dns-fix.service | sudo tee /etc/systemd/system/lokinet-dns-fix.service
sudo systemctl enable --now lokinet-dns-fix

View File

@ -0,0 +1,11 @@
[Unit]
Description=Fix DNS for Lokinet
After=qubes-network-uplink.service
[Service]
Type=oneshot
ExecStart=/usr/bin/rm /etc/resolv.conf
ExecStart=/usr/bin/ln -s /run/resolvconf/resolv.conf /etc/resolv.conf
[Install]
WantedBy=multi-user.target