mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-12-02 13:06:11 +01:00
aff0158ef7
Signed-off-by: magic_rb <magic_rb@redalder.org>
20 lines
493 B
Nix
20 lines
493 B
Nix
{pkgs, ...}: {
|
|
home.file.".config/dunstrc".source = ./dunstrc;
|
|
|
|
systemd.user.services.dunst = {
|
|
Unit = {
|
|
Description = "Dunst notification daemon";
|
|
After = ["graphical-session-pre.target"];
|
|
PartOf = ["graphical-session.target"];
|
|
};
|
|
|
|
Service = {
|
|
Type = "dbus";
|
|
BusName = "org.freedesktop.Notifications";
|
|
ExecStart = "${pkgs.dunst}/bin/dunst -config ~/.config/dunstrc";
|
|
};
|
|
|
|
Install = {WantedBy = ["graphical-session.target"];};
|
|
};
|
|
}
|