diff --git a/install/all.sh b/install/all.sh index a0b8602..a9c54a4 100644 --- a/install/all.sh +++ b/install/all.sh @@ -4,4 +4,5 @@ source ~/.local/share/omarchy/install/hyprlandia.sh source ~/.local/share/omarchy/install/desktop.sh source ~/.local/share/omarchy/install/terminal.sh source ~/.local/share/omarchy/install/development.sh +source ~/.local/share/omarchy/install/docker.sh source ~/.local/share/omarchy/install/configurations.sh diff --git a/install/development.sh b/install/development.sh index 810f677..232b1a0 100644 --- a/install/development.sh +++ b/install/development.sh @@ -1,5 +1,4 @@ yay -S --noconfirm \ nvim luarocks tree-sitter-cli \ - mise docker \ - lazygit lazydocker \ - github-cli + mise github-cli \ + lazygit lazydocker diff --git a/install/docker.sh b/install/docker.sh new file mode 100644 index 0000000..322f75a --- /dev/null +++ b/install/docker.sh @@ -0,0 +1,11 @@ +yay -S --noconfirm docker + +# Start Docker automatically +sudo systemctl enable docker +sudo systemctl start docker + +# Give this user privileged Docker access +sudo usermod -aG docker ${USER} + +# Limit log size to avoid running out of disk +echo '{"log-driver":"json-file","log-opts":{"max-size":"10m","max-file":"5"}}' | sudo tee /etc/docker/daemon.json