Merge branch 'master' of github.com:sc-idevops/stevset
This commit is contained in:
commit
211885837b
5 changed files with 28 additions and 24 deletions
9
ddeps.sh
9
ddeps.sh
|
@ -51,9 +51,10 @@ read -n1 -p $'\nDoes this system have a GUI?\n' REPLY
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#This section installs software outside apt
|
#This section installs software outside apt
|
||||||
|
dpkg_url https://github.com/dandavison/delta/releases/download/0.18.2/git-delta_0.18.2_amd64.deb
|
||||||
|
dpkg_url https://github.com/bootandy/dust/releases/download/v1.1.1/du-dust_1.1.1-1_amd64.deb
|
||||||
|
dpkg_url https://github.com/charmbracelet/glow/releases/download/v2.0.0/glow_2.0.0_amd64.deb
|
||||||
|
dpkg_url https://github.com/ClementTsang/bottom/releases/download/0.10.2/bottom_0.10.2-1_amd64.deb
|
||||||
|
|
||||||
dpkg_url https://github.com/sharkdp/bat/releases/download/v0.24.0/bat_0.24.0_amd64.deb
|
dpkg_url https://github.com/sharkdp/bat/releases/download/v0.24.0/bat_0.24.0_amd64.deb
|
||||||
dpkg_url https://github.com/muesli/duf/releases/download/v0.8.1/duf_0.8.1_linux_amd64.deb
|
dpkg_url https://github.com/muesli/duf/releases/download/v0.8.1/duf_0.8.1_linux_amd64.deb
|
||||||
dpkg_url https://github.com/dandavison/delta/releases/download/0.17.0/git-delta_0.17.0_amd64.deb
|
|
||||||
dpkg_url https://github.com/bootandy/dust/releases/download/v1.0.0/du-dust_1.0.0-1_amd64.deb
|
|
||||||
dpkg_url https://github.com/charmbracelet/glow/releases/download/v1.5.1/glow_1.5.1_amd64.deb
|
|
||||||
dpkg_url https://github.com/ClementTsang/bottom/releases/download/0.9.6/bottom_0.9.6_amd64.deb
|
|
||||||
|
|
2
init.sh
2
init.sh
|
@ -30,7 +30,7 @@ chmod 0700 ~/.ssh
|
||||||
chmod -R 0600 ~/.ssh/*
|
chmod -R 0600 ~/.ssh/*
|
||||||
|
|
||||||
#setup shell
|
#setup shell
|
||||||
stow home
|
#stow home <-- what is this for??
|
||||||
echo "Select which shell to configure and use: zsh/fish/bash"; read -r answer
|
echo "Select which shell to configure and use: zsh/fish/bash"; read -r answer
|
||||||
case $answer in
|
case $answer in
|
||||||
z | zsh)
|
z | zsh)
|
||||||
|
|
5
scripts/apple_swapopt.sh
Executable file
5
scripts/apple_swapopt.sh
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/bash
|
||||||
|
# https://askubuntu.com/a/919096
|
||||||
|
echo 1 | sudo tee /sys/module/hid_apple/parameters/swap_opt_cmd
|
||||||
|
echo options hid_apple swap_opt_cmd=1 | sudo tee -a /etc/modprobe.d/hid_apple.conf
|
||||||
|
sudo update-initramfs -u -k all
|
|
@ -7,9 +7,7 @@ curl -sLf https://spacevim.org/install.sh | bash -s -- --install vim
|
||||||
echo "Install Neovim"
|
echo "Install Neovim"
|
||||||
trash ~/.local/share/nvim ~/.config/nvim #removes spacevim's symlink
|
trash ~/.local/share/nvim ~/.config/nvim #removes spacevim's symlink
|
||||||
mkdir -v ~/bin
|
mkdir -v ~/bin
|
||||||
|
if [[ $(lsb_release -cs) != noble ]]; then
|
||||||
release=`lsb_release -cs`
|
|
||||||
if [[ $release != noble ]]; then
|
|
||||||
trash ~/bin/nvim
|
trash ~/bin/nvim
|
||||||
curl -L https://github.com/neovim/neovim/releases/latest/download/nvim.appimage -o ~/bin/nvim
|
curl -L https://github.com/neovim/neovim/releases/latest/download/nvim.appimage -o ~/bin/nvim
|
||||||
chmod u+x ~/bin/nvim
|
chmod u+x ~/bin/nvim
|
||||||
|
@ -20,6 +18,6 @@ fi
|
||||||
echo "Install NvChad"
|
echo "Install NvChad"
|
||||||
git clone https://github.com/NvChad/NvChad ~/.config/nvim --depth 1
|
git clone https://github.com/NvChad/NvChad ~/.config/nvim --depth 1
|
||||||
|
|
||||||
echo "Install Lunar Vim"
|
#echo "Install Lunar Vim"
|
||||||
#source: https://www.lunarvim.org/docs/installation
|
#source: https://www.lunarvim.org/docs/installation
|
||||||
LV_BRANCH='release-1.3/neovim-0.9' bash <(curl -s https://raw.githubusercontent.com/LunarVim/LunarVim/release-1.3/neovim-0.9/utils/installer/install.sh)
|
#LV_BRANCH='release-1.3/neovim-0.9' bash <(curl -s https://raw.githubusercontent.com/LunarVim/LunarVim/release-1.3/neovim-0.9/utils/installer/install.sh)
|
||||||
|
|
28
udeps.sh
28
udeps.sh
|
@ -12,7 +12,7 @@ function dpkg_url() {
|
||||||
}
|
}
|
||||||
|
|
||||||
# installing base dependencies
|
# installing base dependencies
|
||||||
sudo apt-get -my install \
|
sudo apt -my install \
|
||||||
git \
|
git \
|
||||||
vim \
|
vim \
|
||||||
stow \
|
stow \
|
||||||
|
@ -40,16 +40,6 @@ sudo apt-get -my install \
|
||||||
shellcheck \
|
shellcheck \
|
||||||
lua5.2
|
lua5.2
|
||||||
|
|
||||||
read -n1 -p $'Does this system need a ssh server?\n' REPLY
|
|
||||||
if [[ $REPLY == [Yy] ]]; then
|
|
||||||
sudo apt-get install openssh-server fail2ban
|
|
||||||
fi
|
|
||||||
read -n1 -p $'\nDoes this system have a GUI?\n' REPLY
|
|
||||||
if [[ $REPLY == [Yy] ]]; then
|
|
||||||
sudo apt-get install synaptic flatpak
|
|
||||||
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
|
||||||
fi
|
|
||||||
|
|
||||||
release=`lsb_release -cs`
|
release=`lsb_release -cs`
|
||||||
if [[ $release == jammy || $release == noble ]]; then
|
if [[ $release == jammy || $release == noble ]]; then
|
||||||
sudo apt install \
|
sudo apt install \
|
||||||
|
@ -58,9 +48,19 @@ if [[ $release == jammy || $release == noble ]]; then
|
||||||
btop
|
btop
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
read -n1 -p $'Does this system need a ssh server?\n' REPLY
|
||||||
|
if [[ $REPLY == [Yy] ]]; then
|
||||||
|
sudo apt install openssh-server fail2ban
|
||||||
|
fi
|
||||||
|
read -n1 -p $'\nDoes this system have a GUI?\n' REPLY
|
||||||
|
if [[ $REPLY == [Yy] ]]; then
|
||||||
|
sudo apt install synaptic flatpak
|
||||||
|
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
||||||
|
fi
|
||||||
|
|
||||||
#This section installs software outside apt
|
#This section installs software outside apt
|
||||||
dpkg_url https://github.com/dandavison/delta/releases/download/0.18.0/git-delta_0.18.0_amd64.deb
|
dpkg_url https://github.com/dandavison/delta/releases/download/0.18.2/git-delta_0.18.2_amd64.deb
|
||||||
dpkg_url https://github.com/bootandy/dust/releases/download/v1.0.0/du-dust_1.0.0-1_amd64.deb
|
dpkg_url https://github.com/bootandy/dust/releases/download/v1.1.1/du-dust_1.1.1-1_amd64.deb
|
||||||
dpkg_url https://github.com/charmbracelet/glow/releases/download/v1.5.1/glow_1.5.1_amd64.deb
|
dpkg_url https://github.com/charmbracelet/glow/releases/download/v2.0.0/glow_2.0.0_amd64.deb
|
||||||
dpkg_url https://github.com/ClementTsang/bottom/releases/download/0.10.2/bottom_0.10.2-1_amd64.deb
|
dpkg_url https://github.com/ClementTsang/bottom/releases/download/0.10.2/bottom_0.10.2-1_amd64.deb
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue