Compare commits

...

5 Commits

Author SHA1 Message Date
David Heinemeier Hansson
03053626e3 Make these executable 2025-07-18 17:49:56 -07:00
David Heinemeier Hansson
4df7fcb716 Merge pull request #233 from alansikora/alan/setup-fixes
Setup is failing
2025-07-18 17:13:10 -07:00
Alan Sikora
913675bd5e Creating plymouth-quit.service.d before running tee 2025-07-18 21:05:38 -03:00
Alan Sikora
56e25bd02c Update docker.sh 2025-07-18 21:05:29 -03:00
David Heinemeier Hansson
2224249901 Merge pull request #223 from ryanrhughes/improve-boot-times
Improve boot times
2025-07-18 14:52:26 -07:00
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