Enable SSH + Wallpapers

This commit is contained in:
Elizabeth Cray committed 2026-10-22 20:17:17 -04:00
1 parent bde5e80378
commit ad7b7077bb
4 files changed
+12 -11

No files matched your search

-5
View File
@@ -1,5 +0,0 @@
# VSCodium
wget -qO - https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg | gpg --dearmor | dd of=/usr/share/keyrings/vscodium-archive-keyring.gpg
echo 'deb [ signed-by=/usr/share/keyrings/vscodium-archive-keyring.gpg ] https://download.vscodium.com/debs vscodium main' | tee /etc/apt/sources.list.d/vscodium.list
apt update
apt install codium -y
+12 -4
View File
@@ -14,7 +14,10 @@ if [ "$(id -u)" -ne 0 ]; then
echo "This script must be run as root" echo "This script must be run as root"
exit 1 exit 1
fi fi
export DEBIAN_FRONTEND=noninteractive
export NEEDRESTART_MODE=a export NEEDRESTART_MODE=a
apt install git sudo curl wget zsh -yqq apt install git sudo curl wget zsh -yqq
git clone https://git.corrupt.link/liz/hdos.git ${HDOS_ROOT} git clone https://git.corrupt.link/liz/hdos.git ${HDOS_ROOT}
@@ -37,11 +40,11 @@ useradd -m -s /usr/bin/zsh -G dialout,cdrom,floppy,audio,video,wireshark,classro
cp /home/hacdc/.zshrc /home/guest/.zshrc cp /home/hacdc/.zshrc /home/guest/.zshrc
chown guest:guest /home/guest/.zshrc chown guest:guest /home/guest/.zshrc
sudo -u hacdc ${HDOS_ROOT}/scripts/nvm sudo -u hacdc curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.8/install.sh | bash
sudo -u hacdc ${HDOS_ROOT}/scripts/pyenv sudo -u hacdc curl -fsSL https://pyenv.run | bash
sudo -u guest ${HDOS_ROOT}/scripts/nvm sudo -u guest curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.8/install.sh | bash
sudo -u guest ${HDOS_ROOT}/scripts/pyenv sudo -u guest curl -fsSL https://pyenv.run | bash
# Generate GPG framework # Generate GPG framework
sudo -u hacdc gpg --list-keys sudo -u hacdc gpg --list-keys
@@ -77,7 +80,10 @@ fi
# Set login wallpaper # Set login wallpaper
cp ${HDOS_ROOT}/dotfiles/htown.png /usr/share/backgrounds/htown.png cp ${HDOS_ROOT}/dotfiles/htown.png /usr/share/backgrounds/htown.png
chmod 755 /usr/share/backgrounds/htown.png
sed -i 's/^background=.*$/background=\/usr\/share\/backgrounds\/htown.png/' /usr/share/sddm/themes/*/theme.conf.user sed -i 's/^background=.*$/background=\/usr\/share\/backgrounds\/htown.png/' /usr/share/sddm/themes/*/theme.conf.user
rm /usr/share/backgrounds/kali-16x9/default
ln -s /usr/share/backgrounds/htown.png /usr/share/backgrounds/kali-16x9/default
mksquashfs /home/guest ${HDOS_ROOT}/guest.sqfs mksquashfs /home/guest ${HDOS_ROOT}/guest.sqfs
cp ${HDOS_ROOT}/scripts/restore-home /usr/sbin/restore-home cp ${HDOS_ROOT}/scripts/restore-home /usr/sbin/restore-home
@@ -85,4 +91,6 @@ cp ${HDOS_ROOT}/dotfiles/guest-restore.service /etc/systemd/system/guest-restore
systemctl daemon-reload systemctl daemon-reload
systemctl enable guest-restore.service systemctl enable guest-restore.service
systemctl enable ssh
reboot
-1
View File
@@ -1 +0,0 @@
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
-1
View File
@@ -1 +0,0 @@
curl https://pyenv.run | bash