added docker for non-root and shuffled dep list

This commit is contained in:
2024-12-08 13:52:26 +01:00
parent 5aac22cb6d
commit 1511a5c1a5
6 changed files with 23 additions and 9 deletions

View File

@@ -99,6 +99,13 @@ function install_gtk {
ln -sf "$PWD"/config/gtk/settings.ini ~/.config/gtk-4.0/settings.ini
}
function install_docker {
systemctl enable docker
groupadd docker
usermod -aG docker $USER
newgrp docker
}
# install other configs
function install_config {
@@ -253,6 +260,11 @@ if ask "Do you want to install the fonts?" Y; then
install_fonts
fi
# Autostart docker and add user
if ask "Do you want to set up docker for this user?" Y; then
install_docker
fi
# ask to enable the display manager
if ask "Do you want to enable sddm?" Y; then
sudo systemctl set-default graphical.target