feat: switch to greetd

This commit is contained in:
Bastien Riviere 2024-12-01 18:01:06 +01:00
parent f987f94c18
commit 0c82985373
Signed by: babariviere
GPG key ID: 4E5F0839249F162E
3 changed files with 5 additions and 10 deletions

View file

@ -54,13 +54,15 @@ QUADLET_TARGETS=(
"azure-cli"
)
for i in "${QUADLET_TARGETS[@]}"; do
cat > "/usr/lib/systemd/user/${i}.target" <<EOF
cat > "/usr/lib/systemd/user/${i}.target" <<EOF
[Unit]
Description=${i}"target for ${i} quadlet
[Install]
WantedBy=default.target
EOF
mkdir "/usr/lib/systemd/user/${i}.target.wants"
ln -s /etc/containers/systemd/users/azure-cli.container "/usr/lib/systemd/user/${i}.target.wants/"
done
#### Setup niri deps
@ -73,12 +75,9 @@ ln -s /usr/lib/systemd/user/kanshi.service /usr/lib/systemd/user/niri.service.wa
#### Services
# systemctl enable docker.socket
systemctl enable podman.socket
systemctl enable podman-auto-update.timer
# systemctl enable tailscaled.service
systemctl enable -f --global niri.service
systemctl enable greetd.service
systemctl enable -f --global flatpak-setup.service
systemctl enable -f --global azure-topgrade.service

View file

@ -1,5 +0,0 @@
#!/bin/sh
if [ -z "$DISPLAY" ] && [ "$(tty)" = "/dev/tty1" ]; then
exec niri-session
fi

View file

@ -1,5 +1,6 @@
# Compositor
xorg-x11-server-Xwayland
greetd
niri
# apps