Start the desktop after install by enabling the login screen and services
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
[General]
|
||||
DisplayServer=wayland
|
||||
|
||||
[Wayland]
|
||||
CompositorCommand=start-hyprland -- --config /etc/sddm/hyprland-greeter.lua
|
||||
|
||||
[Users]
|
||||
RememberLastUser=true
|
||||
RememberLastSession=true
|
||||
@@ -0,0 +1,11 @@
|
||||
hl.config({
|
||||
misc = {
|
||||
disable_hyprland_logo = true,
|
||||
disable_splash_rendering = true,
|
||||
force_default_wallpaper = 0,
|
||||
},
|
||||
|
||||
animations = {
|
||||
enabled = false,
|
||||
},
|
||||
})
|
||||
@@ -0,0 +1,21 @@
|
||||
# Without an OOM daemon there is nothing between "memory is tight" and
|
||||
# "processes start dying at random". The kernel OOM killer only fires once an
|
||||
# allocation has already failed outright, which is far too late for the
|
||||
# desktop: the machine thrashes in reclaim until something fails somewhere
|
||||
# fatal. Seen in practice as Hyprland taking SIGBUS mid-memcpy from a Wayland
|
||||
# client's shm pool, because the client was being torn down by the same memory
|
||||
# pressure. One app misbehaving should not cost the whole session.
|
||||
#
|
||||
# systemd-oomd keys on PSI stall time rather than on free pages, so it acts
|
||||
# while the machine is still thrashing instead of after an allocation failed.
|
||||
# Deliberately not earlyoom: that fires only when free RAM *and* free swap are
|
||||
# both under threshold, so a large, mostly-unused swapfile keeps it asleep
|
||||
# through exactly this failure.
|
||||
#
|
||||
# 50% means half of a ten-second window was spent stalled on memory reclaim.
|
||||
# Held for 20s straight, the desktop is already unusable and losing one app is
|
||||
# the cheaper outcome. Which cgroups are eligible is set separately, in
|
||||
# ~/.config/systemd/user/app.slice.d/10-oomd.conf.
|
||||
[OOM]
|
||||
DefaultMemoryPressureDurationSec=20s
|
||||
DefaultMemoryPressureLimit=50%
|
||||
@@ -11,7 +11,7 @@ ConditionPathExists=!%h/.local/state/blob/toggles/crash-capture-off
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/blob-crash-watch
|
||||
ExecStart=%h/.local/share/blob/bin/blob-crash-watch
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ ConditionEnvironment=WAYLAND_DISPLAY
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/blob-system-sleep-monitor
|
||||
ExecStart=%h/.local/share/blob/bin/blob-system-sleep-monitor
|
||||
Restart=always
|
||||
RestartSec=2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user