mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-12-11 17:31:58 +01:00
aff0158ef7
Signed-off-by: magic_rb <magic_rb@redalder.org>
19 lines
493 B
Nix
19 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"];};
|
|
};
|
|
}
|