mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 04:09:23 +00:00
Compare commits
5 Commits
45b5d3ea47
...
03053626e3
Author | SHA1 | Date | |
---|---|---|---|
03053626e3 | |||
4df7fcb716 | |||
913675bd5e | |||
56e25bd02c | |||
2224249901 |
10
install.sh
Normal file → Executable file
10
install.sh
Normal file → Executable file
@ -1,8 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Exit immediately if a command exits with a non-zero status
|
||||
set -e
|
||||
|
||||
# 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
|
||||
for f in ~/.local/share/omarchy/install/*.sh; do
|
||||
|
@ -11,3 +11,12 @@ sudo systemctl enable docker
|
||||
|
||||
# Give this user privileged Docker access
|
||||
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
|
||||
|
@ -109,6 +109,16 @@ PAMName=login
|
||||
WantedBy=graphical.target
|
||||
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 enable omarchy-seamless-login.service
|
||||
|
||||
|
15
migrations/1752797704.sh
Normal file
15
migrations/1752797704.sh
Normal 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
|
Reference in New Issue
Block a user