mirror of
https://github.com/ManInDark/bootc-image.git
synced 2026-01-20 22:44:28 +01:00
fix: remove hyprland starting service; replace with sddm
This commit is contained in:
@@ -9,9 +9,6 @@ dnf5 install -y \
|
|||||||
hyprlock \
|
hyprlock \
|
||||||
hyprpolkitagent \
|
hyprpolkitagent \
|
||||||
waybar \
|
waybar \
|
||||||
pavucontrol
|
pavucontrol \
|
||||||
|
sddm
|
||||||
|
|
||||||
cp /ctx/hypr* /usr/lib/systemd/system
|
|
||||||
for service in $(ls /ctx/hypr*); do
|
|
||||||
systemctl enable $service;
|
|
||||||
done
|
|
||||||
|
|||||||
@@ -1,50 +0,0 @@
|
|||||||
# /usr/lib/systemd/system/gdm.service
|
|
||||||
[Unit]
|
|
||||||
Description=Hyprland
|
|
||||||
|
|
||||||
# replaces the getty
|
|
||||||
Conflicts=getty@tty1.service
|
|
||||||
After=getty@tty1.service
|
|
||||||
|
|
||||||
# replaces plymouth-quit since it quits plymouth on its own
|
|
||||||
Conflicts=plymouth-quit.service
|
|
||||||
After=plymouth-quit.service
|
|
||||||
|
|
||||||
# Needs all the dependencies of the services it's replacing
|
|
||||||
# pulled from getty@.service and plymouth-quit.service
|
|
||||||
# (except for plymouth-quit-wait.service since it waits until
|
|
||||||
# plymouth is quit, which we do)
|
|
||||||
After=rc-local.service plymouth-start.service systemd-user-sessions.service
|
|
||||||
|
|
||||||
# GDM takes responsibility for stopping plymouth, so if it fails
|
|
||||||
# for any reason, make sure plymouth still stops
|
|
||||||
OnFailure=plymouth-quit.service
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
ExecStart=/usr/bin/hyprland
|
|
||||||
KillMode=mixed
|
|
||||||
Restart=always
|
|
||||||
IgnoreSIGPIPE=no
|
|
||||||
BusName=org.freedesktop.portal.Desktop
|
|
||||||
EnvironmentFile=-/etc/locale.conf
|
|
||||||
ExecReload=/bin/kill -SIGHUP $MAINPID
|
|
||||||
KeyringMode=shared
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
Alias=display-manager.service
|
|
||||||
|
|
||||||
# /usr/lib/systemd/system/service.d/10-timeout-abort.conf
|
|
||||||
# This file is part of the systemd package.
|
|
||||||
# See https://fedoraproject.org/wiki/Changes/Shorter_Shutdown_Timer.
|
|
||||||
#
|
|
||||||
# To facilitate debugging when a service fails to stop cleanly,
|
|
||||||
# TimeoutStopFailureMode=abort is set to "crash" services that fail to stop in
|
|
||||||
# the time allotted. This will cause the service to be terminated with SIGABRT
|
|
||||||
# and a coredump to be generated.
|
|
||||||
#
|
|
||||||
# To undo this configuration change, create a mask file:
|
|
||||||
# sudo mkdir -p /etc/systemd/system/service.d
|
|
||||||
# sudo ln -sv /dev/null /etc/systemd/system/service.d/10-timeout-abort.conf
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
TimeoutStopFailureMode=abort
|
|
||||||
Reference in New Issue
Block a user