mirror of
https://github.com/Mastermindzh/dotfiles.git
synced 2025-08-13 04:37:43 +02:00
added docker for non-root and shuffled dep list
This commit is contained in:
12
install.sh
12
install.sh
@@ -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
|
||||
|
Reference in New Issue
Block a user