5 Commits

5 changed files with 43 additions and 1 deletions

0
boot.sh Normal file → Executable file
View File

10
install.sh Normal file → Executable file
View File

@ -1,8 +1,16 @@
#!/bin/bash
# Exit immediately if a command exits with a non-zero status # Exit immediately if a command exits with a non-zero status
set -e set -e
# Give people a chance to retry running the installation # Give people a chance to retry running the installation
trap 'echo "Omarchy installation failed! You can retry by running: source ~/.local/share/omarchy/install.sh"' ERR catch_errors() {
echo -e "\n\e[31mOmarchy installation failed!\e[0m"
echo "You can retry by running: bash ~/.local/share/omarchy/install.sh"
echo "Get help from the community: https://discord.gg/tXFUdasqhY"
}
trap catch_errors ERR
# Install everything # Install everything
for f in ~/.local/share/omarchy/install/*.sh; do for f in ~/.local/share/omarchy/install/*.sh; do

View File

@ -11,3 +11,12 @@ sudo systemctl enable docker
# Give this user privileged Docker access # Give this user privileged Docker access
sudo usermod -aG docker ${USER} sudo usermod -aG docker ${USER}
# Prevent Docker from preventing boot for network-online.target
sudo mkdir -p /etc/systemd/system/docker.service.d
sudo tee /etc/systemd/system/docker.service.d/no-block-boot.conf <<'EOF'
[Unit]
DefaultDependencies=no
EOF
sudo systemctl daemon-reload

View File

@ -109,6 +109,16 @@ PAMName=login
WantedBy=graphical.target WantedBy=graphical.target
EOF EOF
# Make plymouth remain until graphical.target
sudo mkdir -p /etc/systemd/system/plymouth-quit.service.d
sudo tee /etc/systemd/system/plymouth-quit.service.d/wait-for-graphical.conf <<'EOF'
[Unit]
After=multi-user.target
EOF
# Prevent plymouth-quit-wait.service
sudo systemctl mask plymouth-quit-wait.service
sudo systemctl daemon-reload sudo systemctl daemon-reload
sudo systemctl enable omarchy-seamless-login.service sudo systemctl enable omarchy-seamless-login.service

15
migrations/1752797704.sh Normal file
View File

@ -0,0 +1,15 @@
echo "Prevent docker from requiring network readiness on boot"
sudo mkdir -p /etc/systemd/system/docker.service.d/
sudo tee /etc/systemd/system/docker.service.d/no-block-boot.conf <<'EOF'
[Unit]
DefaultDependencies=no
EOF
sudo mkdir -p /etc/systemd/system/plymouth-quit.service.d/
sudo tee /etc/systemd/system/plymouth-quit.service.d/wait-for-graphical.conf <<'EOF'
[Unit]
After=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl mask plymouth-quit-wait.service