diff options
Diffstat (limited to 'accounts/gkleen@sif/niri/mako.nix')
-rw-r--r-- | accounts/gkleen@sif/niri/mako.nix | 16 |
1 files changed, 16 insertions, 0 deletions
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 @@ | |||
30 | invisible=1 | 30 | invisible=1 |
31 | ''; | 31 | ''; |
32 | }; | 32 | }; |
33 | systemd.user.services.mako = { | ||
34 | Unit = { | ||
35 | Description = "Mako notification daemon"; | ||
36 | PartOf = [ "graphical-session.target" ]; | ||
37 | }; | ||
38 | Install = { | ||
39 | WantedBy = [ "graphical-session.target" ]; | ||
40 | }; | ||
41 | Service = { | ||
42 | Type = "dbus"; | ||
43 | BusName = "org.freedesktop.Notifications"; | ||
44 | ExecStart = lib.getExe config.services.mako.package; | ||
45 | RestartSec = 5; | ||
46 | Restart = "always"; | ||
47 | }; | ||
48 | }; | ||
33 | }; | 49 | }; |
34 | } | 50 | } |