mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 08:06:50 +01:00
refactor: prepare new modules structure
This commit is contained in:
parent
d25e24c15b
commit
bf82970b9e
65 changed files with 94 additions and 94 deletions
17
legacy_modules/desktop/mako.nix
Normal file
17
legacy_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