2024-12-13 23:21:31 +00:00
|
|
|
#!/bin/bash
|
|
|
|
HDOS_ROOT=/opt/hdos
|
2024-12-13 23:33:22 +00:00
|
|
|
rm -rf ${HDOS_ROOT}
|
2024-12-13 23:21:31 +00:00
|
|
|
apt install git sudo curl wget zsh -yqq
|
|
|
|
|
|
|
|
git clone https://git.corrupt.link/liz/hdos.git ${HDOS_ROOT}
|
|
|
|
chmod -R 755 ${HDOS_ROOT}
|
|
|
|
|
|
|
|
cp ${HDOS_ROOT}/lists/sources.list /etc/apt/sources.list
|
|
|
|
|
|
|
|
apt update
|
|
|
|
|
|
|
|
apt upgrade -yqq
|
|
|
|
|
|
|
|
xargs apt install -y < ${HDOS_ROOT}/lists/apt-packages
|
|
|
|
|
2024-12-14 03:31:37 +00:00
|
|
|
apt autoremove -y
|
|
|
|
|
2024-12-13 23:21:31 +00:00
|
|
|
${HDOS_ROOT}/scripts/nvm
|
2024-12-14 01:15:08 +00:00
|
|
|
${HDOS_ROOT}/scripts/codium
|
2024-12-13 23:21:31 +00:00
|
|
|
${HDOS_ROOT}/scripts/ohmyzsh
|
|
|
|
|
2024-12-14 01:15:08 +00:00
|
|
|
chsh root /usr/bin/zsh
|
|
|
|
chsh hacdc /usr/bin/zsh
|
|
|
|
|
2024-12-13 23:21:31 +00:00
|
|
|
sudo -u hacdc ${HDOS_ROOT}/scripts/ohmyzsh
|
|
|
|
sudo -u hacdc ${HDOS_ROOT}/scripts/nvm
|
2024-12-13 23:32:31 +00:00
|
|
|
sudo -u hacdc ${HDOS_ROOT}/scripts/pyenv
|
2024-12-14 01:17:58 +00:00
|
|
|
sudo -u hacdc gpg --list-keys
|
2024-12-13 23:21:31 +00:00
|
|
|
cp ${HDOS_ROOT}/dotfiles/zshrc /root/.zshrc
|
|
|
|
cp ${HDOS_ROOT}/dotfiles/zshrc /home/hacdc/.zshrc
|
|
|
|
chown hacdc:hacdc /home/hacdc/.zshrc
|
2024-12-14 03:28:58 +00:00
|
|
|
|
|
|
|
cp ${HDOS_ROOT}/dotfiles/slick-greeter.conf /etc/lightdm/
|
|
|
|
cp ${HDOS_ROOT}/dotfiles/htown.png /etc/lightdm/
|