#add sources list for questing. set -e set -x echo "deb https://archive.ubuntu.com/ubuntu questing main restricted universe multiverse" > /etc/apt/sources.list echo "deb https://archive.ubuntu.com/ubuntu questing-updates main restricted universe multiverse" >> /etc/apt/sources.list echo "deb https://archive.ubuntu.com/ubuntu questing-backports main restricted universe multiverse" >> /etc/apt/sources.list echo "deb https://security.ubuntu.com/ubuntu questing-security main restricted universe multiverse" >> /etc/apt/sources.list apt update apt upgrade -y #install base system packages apt install -y --install-recommends --install-suggests systemd apt install -y --no-install-recommends gnome-core apt install -y jq git rlwrap dnsutils curl systemd-resolved ufw nano htop ipset lm-sensors net-tools iputils-ping python3-pip bpfcc-tools gnome-shell-extension-ubuntu-dock gnome-shell-extension-ubuntu-tiling-assistant gnome-shell-extension-appindicator keepassxc libnetfilter-queue-dev libpcap-dev protobuf-compiler bpftool golang ufw #install packages from config jq -r '.packages | .[]' config.json | while read -r item; do apt install -y "$item" done #set locale locale=$(jq -r '.locale' config.json) echo "$locale" locale-gen "$locale" echo "LANG=$locale" > /etc/default/locale #install python systemwide #pip install --break-system-packages dnslib psutil #add setuid for some applications chmod u+s /usr/bin/bwrap chmod u+s /usr/bin/ping #install firewall #mkdir -p /usr/local/src/ #cd /usr/local/src/ #git clone https://git.patronage.systems/matt/dnsf.git #chmod +x /usr/local/src/dnsf/dnsf_install.sh #/bin/bash -c /usr/local/src/dnsf/dnsf_install.sh #enable services systemctl enable systemd-resolved systemctl enable systemd-networkd #ui changes gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark' #install brave browser curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg curl -fsSLo /etc/apt/sources.list.d/brave-browser-release.sources https://brave-browser-apt-release.s3.brave.com/brave-browser.sources apt update apt install -y brave-browser