From b84704acf2066e42225b7a89c1c8623cd63bbb26 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 17 Jan 2025 22:49:24 +0100 Subject: ... --- accounts/gkleen@sif/niri/mako.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'accounts') diff --git a/accounts/gkleen@sif/niri/mako.nix b/accounts/gkleen@sif/niri/mako.nix index 70b8a302..8abf14d8 100644 --- a/accounts/gkleen@sif/niri/mako.nix +++ b/accounts/gkleen@sif/niri/mako.nix @@ -30,5 +30,21 @@ invisible=1 ''; }; + systemd.user.services.mako = { + Unit = { + Description = "Mako notification daemon"; + PartOf = [ "graphical-session.target" ]; + }; + Install = { + WantedBy = [ "graphical-session.target" ]; + }; + Service = { + Type = "dbus"; + BusName = "org.freedesktop.Notifications"; + ExecStart = lib.getExe config.services.mako.package; + RestartSec = 5; + Restart = "always"; + }; + }; }; } -- cgit v1.2.3