mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-29 19:46:17 +01:00
519d7b3841
Signed-off-by: Magic_RB <magic_rb@redalder.org>
21 lines
503 B
Nix
21 lines
503 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" ]; };
|
|
};
|
|
}
|