mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 16:16:50 +01:00
wip: niri
This commit is contained in:
parent
b87a5ff696
commit
5627b17333
9 changed files with 435 additions and 1 deletions
17
modules/desktop/mako.nix
Normal file
17
modules/desktop/mako.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{pkgs, ...}: {
|
||||
fireproof.home-manager.services.mako.enable = true;
|
||||
systemd.user.services."mako" = {
|
||||
description = "Mako notification daemon";
|
||||
documentation = ["man:mako(1)"];
|
||||
partOf = ["graphical-session.target"];
|
||||
after = ["graphical-session.target"];
|
||||
serviceConfig = {
|
||||
Type = "dbus";
|
||||
BusName = "org.freedesktop.Notifications";
|
||||
ExecCondition = "/bin/sh -c '[ -n \"$WAYLAND_DISPLAY\" ]'";
|
||||
ExecReload = "${pkgs.mako}/bin/mako reload";
|
||||
ExecStart = "${pkgs.mako}/bin/mako";
|
||||
};
|
||||
wantedBy = ["graphical-session.target"];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue