Compare commits

...

10 Commits

Author SHA1 Message Date
Liz Cray
83ee5a3678 Fix restore 2024-12-13 22:41:16 -05:00
Liz Cray
3a5ad77412 Fix apt 2024-12-13 22:31:37 -05:00
Liz Cray
26cb36da1b Home management 2024-12-13 22:28:58 -05:00
Liz Cray
a5b13b5650 Fix gpg 2024-12-13 20:17:58 -05:00
Liz Cray
c4895a4de8 Fix ohmyzsh 2024-12-13 20:15:08 -05:00
Liz Cray
5bc344089f pyenv 2024-12-13 18:33:22 -05:00
Liz Cray
e6e97dd9e5 pyenv 2024-12-13 18:32:31 -05:00
Liz Cray
e2d3fc61b3 Install script 2024-12-13 18:21:31 -05:00
a95f6f1c3f Merge branch 'main' of git.corrupt.link:liz/hdos 2024-12-13 16:54:35 -05:00
c22f0e0f70 OhMyZSH 2024-12-13 16:54:07 -05:00
9 changed files with 144 additions and 95 deletions

BIN
dotfiles/htown.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 MiB

View File

@@ -0,0 +1,11 @@
[Greeter]
background=/etc/lightdm/htown.png
background-color=#000000
show-hostname=true
show-power=true
show-a11y=true
show-clock=true
#logo=
group-filter=
[SeatDefaults]
session-setup-script=/opt/hdos/scripts/restore-home

View File

@@ -1,101 +1,69 @@
yt-dlp
neofetch
curl
wget
build-essential
htop
tmux
screen
cmake
x11-apps
x11-utils
nautilus
airspy
aisleriot
apt-xapian-index
synaptic
pyenv
avahi-daemon
avahi-autoipd
avahi-discover
avahi-utils
avahi-ui-utils
gawk
patch
bzip2
tar
make
git
meson
pkg-config
python3-all
gettext
texinfo
bison
flex
sed
diffutils
ninja-build
pdfgrep
arduino
autoconf
automake
yasm
gtkterm
gnome-terminal
arduino
avahi-autoipd
avahi-daemon
avahi-discover
avahi-ui-utils
avahi-utils
avrdude
mplayer
rclone
bison
bleachbit
build-essential
bzip2
cmake
cowsay
cubicsdr
curl
cutesdr
diffutils
dos2unix
plzip
dvb-apps
exiftool
ffmpeg
firefox-esr
flex
fortune
gawk
gettext
gimp
gimp-data-extras
git
gnome-terminal
gnss-sdr
gnuplot
gnuplot-doc
gnuplot-x11
gnuradio
hackrf
rtl-sdr
gnuradio-doc
hacktv
cubicsdr
gpredict
gqrx-sdr
gr-osmosdr
soapysdr-tools
welle.io
soapysdr-module-rtlsdr
soapysdr-module-remote
soapysdr-module-osmosdr
soapysdr-module-hackrf
quisk
osmo-sdr
inspectrum
cutesdr
airspy
wireshark
horst
ostinato
packeth
pcapfix
tcpextract
wireshark-doc
wireshark-gtk
gr-gsm
gr-osmosdr
gr-radar
gr-radar-doc
gr-satellites
dvb-apps
gnss-sdr
gpredict
gtkterm
hackrf
hacktv
hamradio-satellite
imview
previsat
stellarium
tvtime
ffmpeg
horst
htop
imagemagick
vlc
vlc-plugin-access-extra
x264
bleachbit
firefox-esr
imview
inspectrum
kpat
linuxlogo
lolcat
make
meson
mplayer
nautilus
neofetch
ninja-build
octave
octave-arduino
octave-audio
@@ -118,22 +86,50 @@ octave-statistics
octave-strings
octave-symbolic
octave-zenity
udav
tcptrace
gnuplot
gnuplot-doc
gnuplot-x11
osmo-sdr
ostinato
packeth
patch
pcapfix
pdfgrep
pkg-config
plzip
previsat
python3-all
quisk
rclone
rtl-sdr
screen
sed
sl
lolcat
fortune
cowsay
xcowsay
tty-solitaire
xsol
kpat
aisleriot
soapysdr-module-hackrf
soapysdr-module-osmosdr
soapysdr-module-remote
soapysdr-module-rtlsdr
soapysdr-tools
stellarium
supertux
supertuxkart
synaptic
tar
tcptrace
teeworlds
texinfo
tmux
tty-solitaire
tvtime
udav
vlc
vlc-plugin-access-extra
welle.io
wget
wireshark
wireshark-doc
wireshark-gtk
x11-apps
x11-utils
x264
xcowsay
xsol
yasm
yt-dlp

35
scripts/install.sh Normal file
View File

@@ -0,0 +1,35 @@
#!/bin/bash
HDOS_ROOT=/opt/hdos
rm -rf ${HDOS_ROOT}
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
apt autoremove -y
${HDOS_ROOT}/scripts/nvm
${HDOS_ROOT}/scripts/codium
${HDOS_ROOT}/scripts/ohmyzsh
chsh root /usr/bin/zsh
chsh hacdc /usr/bin/zsh
sudo -u hacdc ${HDOS_ROOT}/scripts/ohmyzsh
sudo -u hacdc ${HDOS_ROOT}/scripts/nvm
sudo -u hacdc ${HDOS_ROOT}/scripts/pyenv
sudo -u hacdc gpg --list-keys
cp ${HDOS_ROOT}/dotfiles/zshrc /root/.zshrc
cp ${HDOS_ROOT}/dotfiles/zshrc /home/hacdc/.zshrc
chown hacdc:hacdc /home/hacdc/.zshrc
cp ${HDOS_ROOT}/dotfiles/slick-greeter.conf /etc/lightdm/
cp ${HDOS_ROOT}/dotfiles/htown.png /etc/lightdm/

1
scripts/ohmyzsh Normal file
View File

@@ -0,0 +1 @@
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" --unattended

1
scripts/pyenv Normal file
View File

@@ -0,0 +1 @@
curl https://pyenv.run | bash

4
scripts/restore-home Normal file
View File

@@ -0,0 +1,4 @@
rm -rf /home/hacdc
tar -xf /opt/home.tar -C /
chown -R hacdc:hacdc /home/hacdc
chown -R hacdc:hacdc /home/hacdc/.*

1
scripts/save-home Normal file
View File

@@ -0,0 +1 @@
tar -cvpzf /opt/home.tgz /home/hacdc