nixos-config/modules/nixos/workflows/mosey-branch/config/desktop-session/mosey-branch.service
Gabriel Arazas 0225342a05
workflows/mosey-branch: create desktop session files package
This should make it easier to manage the custom desktop files with the
usual toolchain for configuring and installing custom desktop files
(i.e., Meson). While this could be done with Nix, some parts of
installing files is easier with Meson.

Who knows, it might be reverted because my Nix-fu is pretty weak right
now.
2023-08-12 15:46:03 +08:00

23 lines
552 B
Desktop File

# This user service is intended to be started with gnome-session.
[Unit]
Description=Mosey Branch, a custom desktop session with Hyprland
Documentation=https://wiki.hyprland.org
After=gnome-manager-manager.target
Requisite=gnome-session-initialized.target
PartOf=gnome-session-initialized.target
OnFailure=gnome-session-shutdown.target
OnFailureJobMode=replace-irreversibly
CollectMode=inactive-or-failed
RefuseManualStart=true
RefuseManualStop=true
StartLimitBurst=4
[Service]
Type=notify
Slice=session.slice
Restart=on-failure
ExecStart=@script@