From 0ff32c7936afe5a8628cd5f4324df3facd9768b3 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 2 Jun 2025 21:22:23 +0200 Subject: [PATCH] Login directly --- install/3-config.sh | 9 +++++++-- install/hyprlandia.sh | 3 +++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/install/3-config.sh b/install/3-config.sh index 8296610..4a442fa 100644 --- a/install/3-config.sh +++ b/install/3-config.sh @@ -4,8 +4,13 @@ cp -R ~/.local/share/omarchy/config/* ~/.config/ # Use default bashrc from Omarchy echo "source ~/.local/share/omarchy/default/bash/rc" >~/.bashrc -# Start Hyprland on first session -echo "[[ -z $DISPLAY && $(tty) == /dev/tty1 ]] && exec Hyprland" >~/.bash_profile +# Login directly as user, rely on disk encryption + hyprlock for security +sudo mkdir -p /etc/systemd/system/getty@tty1.service.d +sudo tee /etc/systemd/system/getty@tty1.service.d/override.conf >/dev/null <~/.bash_profile