mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 12:19:07 +00:00
workflows/mosey-branch: update systemd units
This commit is contained in:
parent
ebafb21bfd
commit
609040329a
@ -6,9 +6,11 @@ RefuseManualStop=true
|
||||
|
||||
After=gnome-session-initialized.target
|
||||
|
||||
PartOf=@app_id@.@component@.target
|
||||
# These are implied to be `Before=gnome-session.target` since we're packing
|
||||
# them all up in the override configuration of the session target anyways.
|
||||
Requisite=@app_id@.@component@.target
|
||||
Before=@app_id@.@component@.target
|
||||
PartOf=@app_id@.@component@.target
|
||||
|
||||
[Service]
|
||||
Slice=session.slice
|
||||
|
@ -1,12 +1,12 @@
|
||||
[Unit]
|
||||
Description=@description@
|
||||
Documentation=man:gnome-session(1) man:systemd.special(7)
|
||||
CollectMode=inactive-or-failed
|
||||
|
||||
# Pull in the service.
|
||||
Wants=@app_id@.@component@.service
|
||||
|
||||
# Require GNOME session and do some reordering.
|
||||
Requisite=gnome-session-initialized.target
|
||||
PartOf=gnome-session-initialized.target
|
||||
After=gnome-session-initialized.target
|
||||
Before=gnome-session.target
|
||||
|
@ -1,6 +1,6 @@
|
||||
# This user service is intended to be started with gnome-session.
|
||||
[Unit]
|
||||
Description=Mosey Branch, a custom desktop session with Hyprland
|
||||
Description=Mosey Branch desktop environment
|
||||
Documentation=https://wiki.hyprland.org
|
||||
|
||||
After=gnome-manager-manager.target
|
||||
@ -13,10 +13,16 @@ CollectMode=inactive-or-failed
|
||||
RefuseManualStart=true
|
||||
RefuseManualStop=true
|
||||
|
||||
StartLimitIntervalSec=15
|
||||
StartLimitBurst=4
|
||||
|
||||
[Service]
|
||||
Type=notify
|
||||
Slice=session.slice
|
||||
Restart=on-failure
|
||||
ExecStart=@script@
|
||||
|
||||
Type=notify
|
||||
NotifyAccess=all
|
||||
|
||||
OOMScoreAdjust=-1000
|
||||
TimeoutStopSec=5
|
||||
|
@ -1,4 +1,4 @@
|
||||
[GNOME Session]
|
||||
Name=Mosey Branch
|
||||
Name=Mosey Branch session
|
||||
# Must be in sync with gnome-session@mosey-branch.target.d/session.conf drop-in.
|
||||
RequiredComponents=@required_components@
|
||||
|
@ -1,6 +1,6 @@
|
||||
[Unit]
|
||||
Description=Mosey Branch
|
||||
Documentation=man:systemd.special(7)
|
||||
Description=Mosey Branch session
|
||||
Documentation=man:gnome-session(1) man:systemd.special(7)
|
||||
DefaultDependencies=no
|
||||
|
||||
Requisite=gnome-session-initialized.target
|
||||
|
Loading…
Reference in New Issue
Block a user