Fix OMARCHY_PATH

This commit is contained in:
David Heinemeier Hansson
2026-01-06 22:51:25 +01:00
parent 9c4a0c2abd
commit 7cafdfcef3

View File

@@ -53,8 +53,8 @@ echo "HOOKS+=(resume)" | sudo tee "$MKINITCPIO_CONF" >/dev/null
# Configure suspend-then-hibernate
echo "Configuring suspend-then-hibernate"
sudo mkdir -p /etc/systemd/logind.conf.d /etc/systemd/sleep.conf.d
sudo cp "$OMARCHY_DIR/defaults/systemd/lid.conf" /etc/systemd/logind.conf.d/
sudo cp "$OMARCHY_DIR/defaults/systemd/hibernate.conf" /etc/systemd/sleep.conf.d/
sudo cp "$OMARCHY_PATH/defaults/systemd/lid.conf" /etc/systemd/logind.conf.d/
sudo cp "$OMARCHY_PATH/defaults/systemd/hibernate.conf" /etc/systemd/sleep.conf.d/
# Regenerate initramfs
echo "Regenerating initramfs..."