diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2025-01-17 22:49:24 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2025-01-17 22:49:24 +0100 |
commit | b84704acf2066e42225b7a89c1c8623cd63bbb26 (patch) | |
tree | c7d5be2016aa6b187af003745150a129ac75df76 /accounts | |
parent | 18565615b2e97ef4ab0f877c191d1c97ac10cb10 (diff) | |
download | nixos-b84704acf2066e42225b7a89c1c8623cd63bbb26.tar nixos-b84704acf2066e42225b7a89c1c8623cd63bbb26.tar.gz nixos-b84704acf2066e42225b7a89c1c8623cd63bbb26.tar.bz2 nixos-b84704acf2066e42225b7a89c1c8623cd63bbb26.tar.xz nixos-b84704acf2066e42225b7a89c1c8623cd63bbb26.zip |
...
Diffstat (limited to 'accounts')
-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 | } |