Quickshell automatically restarts itself on crash, and if that system breaks down, then there's probably a more serious issue here than can be solved with a restart.
15 lines
486 B
Nix
15 lines
486 B
Nix
{ pkgs, lib, quickshell-toki-night, ... }:
|
|
{
|
|
systemd.user.services.quickshell = {
|
|
Install.WantedBy = [ "graphical-session.target" ];
|
|
|
|
Unit = {
|
|
Description = "Quickshell desktop UI manager";
|
|
Documentation = "https://git.tokinanpa.dev/toki/quickshell-toki-night";
|
|
After = [ "graphical-session-pre.target" ];
|
|
PartOf = [ "graphical-session.target" ];
|
|
};
|
|
|
|
Service.ExecStart = lib.getExe quickshell-toki-night.packages.${pkgs.system}.default;
|
|
};
|
|
}
|