1
0
mirror of https://github.com/tommytran732/QubesOS-Scripts synced 2024-06-25 12:47:01 -04:00

Compare commits

...

2 Commits

Author SHA1 Message Date
c8b324c93b
Consistent comments
Signed-off-by: Tommy <contact@tommytran.io>
2024-01-24 17:46:28 -07:00
ac9acc7ff7
Avoid phased updates
Signed-off-by: Tommy <contact@tommytran.io>
2024-01-24 17:44:48 -07:00
9 changed files with 73 additions and 49 deletions

View File

@ -14,6 +14,14 @@
# License for the specific language governing permissions and limitations under # License for the specific language governing permissions and limitations under
# the License. # the License.
unpriv(){
sudo -u nobody "$@"
}
# Avoid phased updates
unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/apt/apt.conf.d/99sane-upgrades | sudo tee /etc/apt/apt.conf.d/99sane-upgrades
sudo chmod 644 /etc/apt/apt.conf.d/99sane-upgrades
# Adding KickSecure's signing key # Adding KickSecure's signing key
curl --proxy http://127.0.0.1:8082/ --tlsv1.3 --proto =https --max-time 180 --output ~/derivative.asc https://www.kicksecure.com/derivative.asc curl --proxy http://127.0.0.1:8082/ --tlsv1.3 --proto =https --max-time 180 --output ~/derivative.asc https://www.kicksecure.com/derivative.asc
sudo cp ~/derivative.asc /usr/share/keyrings/derivative.asc sudo cp ~/derivative.asc /usr/share/keyrings/derivative.asc
@ -40,7 +48,7 @@ echo "/usr/lib/libhardened_malloc.so/libhardened_malloc.so" | sudo tee /etc/ld.s
# Restrict /proc and access # Restrict /proc and access
sudo systemctl enable --now proc-hidepid.service sudo systemctl enable --now proc-hidepid.service
#Reduce kernel information leaks # educe kernel information leaks
# Will break a lot of applications. The apps I use on KickSecure work fine with it so I am enabling it. # Will break a lot of applications. The apps I use on KickSecure work fine with it so I am enabling it.
sudo systemctl enable --now hide-hardware-info.service sudo systemctl enable --now hide-hardware-info.service

View File

@ -14,6 +14,14 @@
# License for the specific language governing permissions and limitations under # License for the specific language governing permissions and limitations under
# the License. # the License.
unpriv(){
sudo -u nobody "$@"
}
# Avoid phased updates
unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/apt/apt.conf.d/99sane-upgrades | sudo tee /etc/apt/apt.conf.d/99sane-upgrades
sudo chmod 644 /etc/apt/apt.conf.d/99sane-upgrades
# Install packages # Install packages
sudo apt install --no-install-recommends tirdad qt5ct qt5-style-plugins arc-theme -y sudo apt install --no-install-recommends tirdad qt5ct qt5-style-plugins arc-theme -y

View File

@ -14,6 +14,14 @@
# License for the specific language governing permissions and limitations under # License for the specific language governing permissions and limitations under
# the License. # the License.
unpriv(){
sudo -u nobody "$@"
}
# Avoid phased updates
unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/apt/apt.conf.d/99sane-upgrades | sudo tee /etc/apt/apt.conf.d/99sane-upgrades
sudo chmod 644 /etc/apt/apt.conf.d/99sane-upgrades
# Install packages # Install packages
sudo apt install --no-install-recommends tirdad qt5ct qt5-style-plugins arc-theme git -y sudo apt install --no-install-recommends tirdad qt5ct qt5-style-plugins arc-theme git -y